get location from pixel coordinates to table cell

I would like the opposite of what the MakePoint() function.  Instead of providing an index of table of row/column cell, I would get the coordinates of the beginning of a table of mouse cell.

Is there a special function to do this?

Hello ElectroLund,

I think GetTableCellRangeRect is what you are looking for.

To get the mouse coordinates table cell using GetTableCellFromPoint.

Constantine.

Tags: NI Software

Similar Questions

  • Set/get an Insertion Point in a table cell

    I'm an iteration through the cells in a table to a series of calls to ITableCommands::SetCellText (). This written properly in cells, but I also need to set the insertion point to the first character in the cell somehow. I have the GridAddress - is - it possible to get the selection of who? (I was able to select the entire cell, but I want to get the text of her selection. Does anyone know how? Thank you.

    Bob

    I had the TextIndex of the cell using ITextStoryThread::GetTextStart.

  • Get information from the Bank of Tables HZ

    Hi I mostly use CE_BANKS_V for the information of the Bank, but in case I want this HZ_PARTIES table information so how I can get because there is presented data of parties, people, etc.. i don't know which one I should mention to get only the condition information stores.

    Kind regards
    Shakeel Khan

    Hi Shakeel

    If you see the script for ce_banks_v, it uses the table hz_parties only. You can use the following query (this one is taken by the script of ce_banks_v only):

    Select * from
    hz_parties bankparty, hz_code_assignments bankca
    where
    bankparty.party_type = "ORGANIZATION".
    AND bankca.class_category = 'BANK_INSTITUTION_TYPE. '
    AND bankca.class_code IN ('BANK', 'CENTRE')
    AND bankca.owner_table_name = 'HZ_PARTIES. '
    AND bankca.owner_table_id = bankparty.party_id
    AND NVL (bankca.status, 'A') = "A".

    Thank you
    Serge

  • Getting data from CTE in existing table

    Hello

    I do not understand what is the problem with the following query, when I search on the net I find simular instructions sql... my works (tested separately) etc, I used the loop for only to copy from one table to the other... but when I combine them, it won't...

    The code that is in commits some differences, I tried.
                with x as (
                  select  
                    p.id as id, p.naam as pers , c.id as comp, cp.sectorid as sect
                    from competentiepersoon cp
                        join persoon p on p.id = cp.persoonid
                        join competentie c on c.id = cp.competentieid
                        where sectorid = 14 --c1.id
                ), 
                y as (    
                    select t1.comp as comp1, t2.comp as comp2, t1.sect, count(*) as tel
                        from x t1, x t2 
                        where t1.comp != t2.comp 
                          and t1.id = t2.id
                        group by t1.comp, t2.comp, t1.sect
                ), 
                z as (
                      select 
                        comp1, comp2, sect, tel / (select count(*) from y  where comp1 = y1.comp1 or comp2 = y1.comp1 or comp1 = y1.comp2 or comp2=y1.comp2 ) as match
                      from y y1 
               )  
              --insert INTO competentiematching(competentieid1, competentieid2, sectorid, matching) 
             --values select comp1, comp2, sect, match from z;
           for toInsert in ( select * from z )
              loop
                   insert into competentiematching values(toInsert.comp1, toInsert.comp2,toInsert.sect,toInsert.match);
            end loop;  
    = > Guard giving "lack instruction select".

    PS Sorry for my English :).

    Hello

    There is no need to use a LOOP, or even PL/SQL: you can just do an INSERT statement like this:

    insert into competentiematching     (...)     -- List of columns isn't strictly required, but it's a good idea
    with x as (
                  select
                    p.id as id, p.naam as pers , c.id as comp, cp.sectorid as sect
                    from competentiepersoon cp
                        join persoon p on p.id = cp.persoonid
                        join competentie c on c.id = cp.competentieid
                        where sectorid = 14 --c1.id
                ),
                y as (
                    select t1.comp as comp1, t2.comp as comp2, t1.sect, count(*) as tel
                        from x t1, x t2
                        where t1.comp != t2.comp
                          and t1.id = t2.id
                        group by t1.comp, t2.comp, t1.sect
                ),
                z as (
                      select
                        comp1, comp2, sect, tel / ( select count(*)
                                                 from y
                                    where comp1 = y1.comp1
                                    or      comp2 = y1.comp1
                                    or     comp1 = y1.comp2
                                    or     comp2 = y1.comp2
                                   ) as match
                      from y y1
               )
    SELECT  ...        -- Main query goes here
    ;
    

    It has no main request after the subquery y1 in the code you have posted.

    An INSERT statement like the one above will work in SQL or PL/SQL.

    If you do not need to use a loop, the syntax is:

    FOR  toInsert  IN (  )
    LOOP
        ...
    END LOOP;
    

    Where I wriote above, you should put all of the query, starting with the key word when used. For example:

    FOR  toInsert  IN (
                                with x as (
                                  select
                                           p.id as id, p.naam as pers , c.id as comp, cp.sectorid as sect
                            ...
                      )
    LOOP
        ...
    END LOOP;
    
  • getting data from two servers?

    Experts-

    We have two servers for the storage of the tables. 1 history 1. current server Prod

    We have same tables in the databases server.

    All the info before one month from the date of the day are stored in database tables history server
    and the rest in database tables current prod server.


    I create reports such as when the user enters a date, OBIEE must check if the date is in a month (30 days) the date today or earlier at 30 days, on this basis, it must get data from historical Server database tables / running production database server.

    How can I implement this?

    I need to create two clusters of connction (RPD records) and develop the same model twice? (One for the historical paintings and one for prod tables?)
    or can I use the technique of fragmentation? If so, can you give me an idea hwow to implement the Fragmentation of this requirement?

    Thank you for your help in advance

    You must use the fragmentation of this requirement. It is not difficult once you understand the basic principle. Nico article read here for details:

    http://gerardnico.com/wiki/dat/OBIEE/fragmentation_content

    The only non-standard bit for you will be to define the criteria of fragmentation on your sources of logical table. This is the part that says BI server to hit source.

    After return here if you get stuck.

    Paul

  • I get videos from cell phones of the people with a type of file like 3GP. I need to know how to save and change the format so I can open them.

    I get videos from cell phones of the people with a type of file like 3GP. I need to know how to save and change the format so I can open them.

    Trying to convert to the. WMV format:

    There are many converters available on the net... some
    free... some detail.

    The following freeware converter is just one example:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Format Factory (freeware)
    http://www.videohelp.com/tools/Format_Factory
    (the 'direct link' is faster download)
    (the file you want to download is: > FFSetup295.zip<>
    (FWIW... installation..., you can uncheck
    ('all' boxes on the final screens)
    (Windows XP / Vista / 7)

    First, you will need to decompress the file or just open the
    Drag > FFSetup295.exe< out="" of="" the="">
    and drop it on your desktop. To install left click.

    Next, after the download and installation of Format
    Factory... you can open the program and
    left click on the toolbar, the "Option" button and
    "Select an output folder to" / apply / OK.
    (this is where you find your files after they)
    are converted)

    Drag and drop your video clips on the main screen...

    Select "all to WMV" / OK...

    Click on... Beginning... in the toolbar...

    That should do it...

    Good luck...

  • How do I get the table cells?

    It's my get code that any object in propagation.

    Int32 childCount = parent-> GetChildCount();

    for (int32 /IndexEnfant = 0; childIndex < childCount; /IndexEnfant ++)

    {

    InterfacePtr < IHierarchy > child (parent-> QueryChild (childIndex));

    ChildUIDRef = UIDRef: GetUIDRef (child);

    TextFrame table

    }

    How do I get the table cells?

    You can access the table using ITableModel and GridAddresscell.

    But to get to the ITableModel since ITextModel implies some complexity.

    Few things to understand:

    -L'interface that corresponds to the written document is ITextModel

    -The recommended method to iterate tables in a story done by ITextStoryThreadDictHier

    -Get the ITextStoryThreadDictHier on the history and the main thread as ITextStoryThreadDictHier::NextUID()

    -Now get ITextStoryThreadDict for UID and query for ITableModel. If you get ITableModel, then you have found the table.

    Once you have ITableModel you can get ITableCell as follows:

    ITableModel:QueryCellContentBoss(GridAddress); Give ITableCell

    You can refer to SnipperRunner (SnpManipulateTextModel).

    Download text template table model:

    InterfacePtr textModel (storyUIDRef, UseDefaultIID());

    InterfacePtr textStoryDictHier (textModel, UseDefaultIID());

    NextUID UID = sourceStory.GetUID (); / / Download the main thread dictionary

    Now loop the dicthier to iterate through all the threads dicts.

    InterfacePtr textStoryThreadDict (sourceStory.GetDataBase (), nextUID, UseDefaultIID());

    InterfacePtr tableModel (textStoryThreadDict, UseDefaultIID());

    If (tableModel) / / the storythreaddict represents a table

    {

    You are now in a table

    }

  • How to get emails from 2 tables of MySQL

    Hello

    I need to use only 1 query to get all emails that are stored in two different tables.

    Then, this is going to create a table and gets imploded for emailing, and another variable to display in a list on the page he exploded.

    Here's the query that receives emails from 1 table, but missing the instructions to get the emails in the other table (named: clients)

    <? PHP

    Receive emails from users.

    $user_sql = "SELECT * from users GROUP BY email;

    $user_query = $con-> query ($user_sql);

    $user_row = $user_query-> fetch_array();

    implode.

    $user_emails = array();

    While ($user_row = $user_query-> fetch_array())

    {

    [$user_emails] = $user_row ['email'];

    }

    Set the variables.

    $email_recipients = implode (",", $user_emails);

    $user_recipients = explode (', ', $email_recipients);

    ? >

    Thank you!

    $user_sql = 'SELECT FROM UNION SELECT prod_book email users';

  • get information from inside a trigger of the other tables in the schema even

    Addendum:

    ... Sorry I forgot: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64 bit

    *******************

    Hello

    I'm trying for a few hours to get information from inside a trigger to another table in the same pattern.

    My trigger is PSE_BKB. NUM_PHANTOM_BP

    I first tried a simple solution...


    CREATE OR REPLACE TRIGGER PSE_BKB. NUM_TR_PHANTOM_BP
    BEFORE DELETING, INSERTION OR UPDATE
    ON PSE_BKB. NUM_PHANTOM_BP
    REFERRING AGAIN AS NINE OLD AND OLD
    FOR EACH LINE
    DECLARE

    v_recht NUMBER (1): = 0;
    v_recht2 NUMBER (1): = 0;
    v_change_mitarbeiter NUMBER (1): = 0;
    v_recht_mitarbeiter NUMBER (1): = 0;
    v_typ varchar2 (20);
    v_obj_key varchar2 (11): = "gugus";
    v_ph_key varchar2 (11);
    -ph_key varchar2 (11);
    v_obj_keys varchar2 (4000): = ', ';

    anz_num NUMBER: = 0;
    anz_num_tmp NUMBER: = 0;
    anz_st_si NUMBER: = 0;


    BEGIN

    ...
    Select count (*)
    in anz_num
    of pse_bkb.num_objekt o
    where o.obj_key in
    (select distinct (ov.obj_key)
    of pse_bkb.num_objekt_verb ov
    where ov.phantom_key =: old.phantom_key
    )
    and o.typ = "NUM";

    ...

    Explanation: my trigger table is PSE_BKB. NUM_PHANTOM_BP.

    On the pse_bkb.num_objekt_verb of the table, I have a relationship 1: n to one or several object-key (field named obj_key!) on my referenced key: old.phantom_key. With this obj_key, I want to watch the weather, I have one or more lines in the table type num_objekt "NUM". So the internal selection gives me all the num_objekt_verb obj_key with my: old.phantom_key and with whom I count the number of lines I have on num_objekt with type "NUM".

    The problem is that the trigger does not see the table.

    I tried many variations.

    The latest version I tried was with a cursor inside the trigger definition as in the block of code below.

    For debugging purposes, I inserted a RAISE_APPLICATION_ERROR in the inner loop - see below. The v_obj_key variable is never defined, as in all the other variations, I tried-, I still see the predefined "gugus" in the declare section.

    It seems that oracle can not read other tables at this point. La: old.phantom_key is defined (in this simple example there would come a return obj_key).

    Thanks in advance for your help - and excuse my English.

    Trigger code:

    CREATE OR REPLACE TRIGGER PSE_BKB. NUM_TR_PHANTOM_BP
    BEFORE DELETING, INSERTION OR UPDATE
    ON PSE_BKB. NUM_PHANTOM_BP
    REFERRING AGAIN AS NINE OLD AND OLD
    FOR EACH LINE
    DECLARE

    v_recht NUMBER (1): = 0;
    v_recht2 NUMBER (1): = 0;
    v_change_mitarbeiter NUMBER (1): = 0;
    v_recht_mitarbeiter NUMBER (1): = 0;
    v_typ varchar2 (20);
    v_obj_key varchar2 (11): = "gugus";
    v_ph_key varchar2 (11);
    -ph_key varchar2 (11);
    v_obj_keys varchar2 (4000): = ', ';

    anz_num NUMBER: = 0;
    anz_num_tmp NUMBER: = 0;
    anz_st_si NUMBER: = 0;


    BEGIN


    Start
    declare

    cursor nums is

    Select obj_key
    of PSE_BKB.num_objekt_verb
    where phantom_key =: old.phantom_key;

    Start

    for the RC looping nums
    v_obj_key: = cr.obj_key;

    RAISE_APPLICATION_ERROR (-20099,' AGAIN 9 v_obj_key: ' | v_obj_key |) ': old.phantom_key ' | (: old.phantom_key);

    When the exit nums % NOTFOUND;

    Select count (*) in the pse_bkb.num_objekt anz_num_tmp where obj_key = v_obj_key and type = "NUM";
    anz_num: = anz_num + anz_num_tmp;
    end loop;

    end;
    end;

    Published by: user832075 on 14.01.2013 06:18

    The reason why you get count_n = 0 in tr_c is that there is no line in B with key_c = 17, to the moment you arrive at tr_c. The removal of B has already occurred, and since you're in a single transaction, the application for tr_c:

    select count(*)
      into   counter_n
      from   a aa
      where  aa.key_a in (select distinct(bb.key_a)
                          from   b bb
                          where  bb.key_c = v_ph_key
                         )
      and    aa.typ = 'n';
    

    'knows' that the row has been deleted then gets a number of 0.

    I added a set of instructions dbms_output to show the order in which triggers run, and that's what I get:

    SQL> delete from b_vw where key_a = 1 and key_c = 17 ;
    in trigger b_tr_vw
    In tr_b
    in tr_c
    delete from b_vw where key_a = 1 and key_c = 17
                *
    ERROR at line 1:
    ORA-20077: Remark: counter_n: 0 counter_s: 0 v_ph_key: 17 old.key_c: 17
    new.key_c:
    ORA-06512: at "OPS$ORACLE.TR_C", line 38
    ORA-04088: error during execution of trigger 'OPS$ORACLE.TR_C'
    ORA-06512: at "OPS$ORACLE.B_TR_VW", line 17
    ORA-04088: error during execution of trigger 'OPS$ORACLE.B_TR_VW'
    

    Thus b_tr_vw trigger is triggered first and deletes a B. trigger fires tr_b as part of this statement to remove and check against A, happening apparently so no error is triggered and succeeds the removal of B. Now tr_b_vw takes back control and deletes C. Since the B line which has key_c = 17 already deleted a control for counter_n > 0 and counter_s = 0 fails and raise you the-20002 error. Note that I'm assuming that the error of-20077 you lift is just to see the values and is not intended to be part of your actual code.

    Because I have really no idea what you're trying to accomplish here I can't offer a lot of advice that you might want to try entering two tr_c of the tr_b_vw trigger validation queries before deliver you the removal of b and put the counter_n > 0 and counter_s = 0 control under tr_b_vw to decide whether or not you want to remove.

    John

  • How to get information from web interface tables

    Hello

    How to get information from web interface tables

    as in the forms... Go to help-> Diagnostics-> review
    Block = SYSTEM field is LAST_QUERY.

    Kind regards.

    Salvation;

    Please see the paragraphs below:

    How to determine the Table and the name of the column to a field in a form in 11i [ID 259722.1]
    How to find the query that succeeded recently? [241628.1 ID]

    Respect of
    HELIOS

  • table cell shift problem

    Get a weird selection indicator displacement effect in the cells when using tables in LV 2013 (32) on Win 7 (64).   Hesitate to call it a "scroll" because that which has other meanings in the context of the table.

    Click on the letters in the attached VI to see - same effects if the table is in a VI running or not.

    + clicking on 'A' has no effect.  You remove 'A', the cell to move.

    + clicking on one of the cells located below "A" act as above

    + clicking on the header cell 'x' causes a big drift.  Put the other values in the cell has other effects (some travel a lot, some not at all)

    + clicking on the cell of the table "y" causes a big bend on the side.  Put the other values in the cell has other effects (some travel a lot, some not at all)

    + clicking on the "z" table cell is not moving.  You delete 'z', a big bend on the side

    + I noticed the change which occurs when you remove "A" stops at the same place in the landscape as if you

    Comments:

    + Seems to be related to the cells to justify = center.

    + Shifting is always is from right to left.

    + I noticed the change which occurs when you remove "A" stops at the same horizontal location as if you click on 'y '.

    + occurs at least two different machines from different mfg both 2013-32 running on Win7-64.

    In the case where you are still interested, see 5 message in this thread.

  • Can someone who is not a contact call you from a landline or a cell phone?

    Can someone who is not a contact call you from a landline or a cell phone? My wife tried to call me, but couldn't get through.

    Hello

    No, they can't.
    You have been marked to send duplicate messages in violation of the regulations of Skype. Deleted duplicates. Avoid in the future please.
    Thank you.

    TIME ZONE - US EAST. LOCATION - PHILADELPHIA, PA, USA.

    I recommend that you always run the latest version of Skype: Windows & Mac

    If my advice helped to solve your problem, please mark it as a solution to help others.
    Please note that I usually do not respond to unsolicited private Messages. Thank you.

  • access to table cells

    Hello

    Could someone please help me understand how to access the cells in a table (to do)?  I have a report with a table full of a channel.  In a column, it shows a list of names (which come from a channel).  I have another string with a list of colors and I want to associate each name in the table with a color of the second round. I tried unsuccessfully to access even a cell using D2TabRow and D2TabCol and the content...

    Any help is appreciated

    Thank you

    Hi Muskeg,

    Edna has sent two times it shows the only way to change the font of the text in individual table cells properties.  You create, save and call a UserCommand, so is not simple.  The main problem you use is that the table in the REPORT object does not generally contain cells.  If you happen to have chosen a column type in the 'list of text', then you can access the contents of individual table cells, but otherwise, your only options are to get and set the values outside the table that the table is referencing - be they channel values or the values of variables or expressions.

    The easiest option is to get/set of string values and assign each column of the table or row to display the channel values.

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • How to get the QDR of ADF Pivot table datacell

    JDeveloper 11.1.1.5 version
    Java 1.6
    The ADF faces

    I want to click commandlink in a data cell that sends the value of the header cells to a bean of support. I think that we must get the QDR of a clicked data cell, but how?

    I created the PivotTable: column headers consist of a variable number of dates; row headers consist of the names of the units. The data that cross are a percentage of variance using energy over time. (There is no calculation in the PivotTable, just displaying data from the view).

    ........ 11 Jan 12 13 Jan Jan jan 14. .etc
    Module-1 2.00 5, 25 - 9.30-11.15
    Unit-2 - 554.22 497.00 7.70 2.00
    Unit-3 10.00 - 5, 00 5.00 1.00

    To the cell above it with 497.00 value, the user must click this value (commandlink) and the bean 1) calculate the values of the unit and the date to use as parameter values for ExecuteWithParams under another iterator and 2) navigate to another page using this another iterator.

    It seems that the QDR (reference data) is involved, but can't find enough information about how to implement the same.

    Here are the PivotTable on the jspx:

    < dvt:pivotTable id = "pivotTable1".
    Summary = "reading analytical pivot table.
    value = "#{bindings." CdsaReadingsItfVwView1.pivotTableModel}.
    var = 'cellData.
    varStatus = "cellStatus" >
    < dvt:dataCell >
    < af:commandLink id = "cl".
    Text = "#{cellData.DataValue} '"
    action = "#{pivot_bean.commandlink_action}" / >
    < / dvt:dataCell >
    < / dvt:pivotTable >



    In the bean, we try to getPivotTable(), but it is always null.

    Any direction is welcome.

    David K

    Check how the PivotTable selection demo was created:
    http://jdevadf.Oracle.com/ADF-richclient-demo/faces/feature/PivotTable/pivotTableSelection.JSPX
    Code for this demo here:
    http://www.Oracle.com/technetwork/developer-tools/ADF/documentation/ADF-faces-RC-demo-083799.html

  • subsidence of table cells...

    My last question for now...
    How can I get this cell collapse while my CSS assigned to this particular cell is dominant. At the present time, my CSS inserted figure shows, but the cell left a block of white space above the graph... as if the table cell knew reduce (or cultures down) the CSS image. Here is the piece of code & I'm not sure how to change it accordingly. -I just need the cell collapse for graph CSS image assigned.

    < b >
    < td width = "0" height = "0" class = "dotbar01" > < table >
    < /tr >

    Thank you very much!

    r_tist wrote:

    > Here is the State...
    > I deleted '& nbsp' my code & what does the cell collapse of extra space. When
    > the cursor is in this cell, my properties shows my name designated CSS,.
    > However, the Visual CSS does NOT appear (even if the fact of his name). -do
    > meaning?
    >
    > .dotbar01 {}
    > background-image: url (dotbar01.jpg);
    > background-repeat: repeat-x;
    >
    > This is my CSS for .dotbar01. It seems to only appear on the screen if I understand
    > the '& nbsp' in my code that causes the problem of the inclusion of a piece of white
    > space, the cell collapses not not at the height of the graph.
    >
    > Any ideas? -Thanks!
    >

    This is because the & nbsp stops the cell from completely collapsing. Try
    put a height in the cell.

    {.dotbar01}
    background-image: url (dotbar01.jpg);
    background-repeat: repeat-x;
    font size: 7px;
    }

    or

    {.dotbar01}
    background-image: url (dotbar01.jpg);
    background-repeat: repeat-x;
    height: 7px;
    }

    or put a transparent gif in the cell attached to the height you want it to be.

Maybe you are looking for