Dee
asked on
How to get the value of a particular column in a mult column list box?
How do I get a value from a particular column of the selected row in multi column list box in VFP?
v = thisform.myListBox... ? Value of column 2
v = thisform.myListBox... ? Value of column 2
ASKER
Thanks.
I need the value of column2 of the selected row. I can't seem to find the syntax for that.
v = thisform.myListBox.List[se lectedRowN um, 2]
I need the value of column2 of the selected row. I can't seem to find the syntax for that.
v = thisform.myListBox.List[se
ASKER
listitemID gives me the selected row.
nIndex = thisform.lstProcs.listitem id && ID of the item
v = thisform.lstProcs.List[nIn dex, 2]
Thanks!
nIndex = thisform.lstProcs.listitem
v = thisform.lstProcs.List[nIn
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
So Value of column 2 in row 1:
v = thisform.myListBox.List[1,
If you need to go through all items in the Listbox use loop from 1 to thisform.myListBox.ListCou