08-07-2009 03:50 AM
I want to programmatically know which index the user has selected in the panel of an array of clusters. I didn’t see this option in the property node. Basically, my ultimate goal is to chart the data of the array selected and I need to know how to index that data for the graph.
Solved! Go to Solution.
08-07-2009 04:01 AM
Hey,
You can use a Event Structure with a MouseDown Event and get the indices via processing them through the coordinates of the MouseDown Event.
Christian
08-07-2009 04:07 AM
Hey
Another option is to display the arrays in a multicolumn listbox and then use an Event structure to find the double clicked row or the invoke node, Get Double Clicked Row.
Rkll
08-07-2009 04:14 AM
Maybe you need something more simple...
08-07-2009 06:30 AM
I think Rkll and me where thinking to far from what you wanted.
For my answer I thought you want to find out which element was selected in a array not via the index display.
Christian
08-07-2009 10:27 AM
Christian,
My apologies because I didn't explain my question well. Thanks for quick response.
-Anil
01-08-2010 04:10 PM
01-08-2010 04:25 PM
What is your definition of "selected"? It's not clear enough!
So you have an array of clusters. The index property shows which elements is shown topmost (or leftmost) in the array container, which has nothing to do with any selection, so I am not sure why it got marked it as solution. Is one of the cluster elements a checkbox that indicates "selection" when checked? Do you want to know which element got changed last by the user?
01-11-2010 12:38 PM
Hello Mike, Here is a screen shot of the code:
01-11-2010 01:04 PM