03-21-2011 06:36 AM
Hello,
Does anybody have an idea of how to obtain the index of a mouse-selected array element in the View interface of Diadem??
Thanks!
03-21-2011 11:21 AM
Hi Ovidius,
Is the user selecting the data point in a VIEW Graph (with the crosshair or band cursor), or is the user selecting one or more rows in a VIEW table?
Brad Turpin
DIAdem Product Support Engineer
National Instruments
03-21-2011 11:28 AM
Hi Brad,
The user is selecting one or more elements of varios channels in The Data View.
03-21-2011 11:30 AM
Hi Brad,
The user is selecting one or more elements of varios channels in the View Table.
03-22-2011 08:57 AM
Hi Ovidius,
I don't know of a way to programmatically read the selection of cells in a VIEW table, and even after a little poking around in the View object I didn't find anything. I know we can do just this sort of thing with SUDialogs, and DIAdem 2010 and later supports embedding a SUDialog in a VIEW area, though, so we could create something that looked a lot like a View table that supports this feature.
Could you describe the process the user is going through? What do you want to do with the selected cells?
Brad Turpin
DIAdem Product Support Engineer
National Instruments
03-23-2011 03:46 AM
Hi Brad,
What I would like to do is: the user must be able to select any entry of a table in the View Panel and I would like to capture this values with an EditBox of a non modal dialog.(in other words: when the user clicks on a cell of the table, the corresponding value must appear as a text of an EditBox.)
Any suggestion is welcome!
Thanks!