03-07-2011 03:38 AM
I would like to highlight a line in the multi column listbox and read the row number.
I need this number to continu in my programm.
Solved! Go to Solution.
03-07-2011 04:26 AM
The value of a listbox is the selected (or high-lighted) index in the list. You can alter and read this by the terminal, property (value) or a local variable.
Ton
03-07-2011 04:38 AM
Thank you Ton, for your reply,
But I do need the row number. I need all the row values and a adjust them in on other programm. Afterwards I want to replace them in the listbox. In the mean time the highlighted values might change and I need to be sure to replace the new values with the old ones.
I is also possible to have more of the same value rows in the list box and I need to adjust the one I selected in first place.
So still, is there a way to show (read) the selected row number?
03-07-2011 04:56 AM
Maybe this:
double click on row will return data
03-07-2011 07:24 AM
@RvG wrote:
Thank you Ton, for your reply,
But I do need the row number. I need all the row values and a adjust them in on other programm. Afterwards I want to replace them in the listbox. In the mean time the highlighted values might change and I need to be sure to replace the new values with the old ones.
I is also possible to have more of the same value rows in the list box and I need to adjust the one I selected in first place.
So still, is there a way to show (read) the selected row number?
I don't understand your issue. The value of a listbox is/are the selected row(s) numbers, or do you need the strings in the selected rows?
What code do you have at the moment?
Ton