General information
Category:
ActiveX controls in VFP
Kevin,
In the double-click event you can reference the selected item.
THIS.SelectedItem.Index
Thanks,
Dan
>In an MSListView ActiveX control, how do determine the
row number that was double clicked?
The ItemClick method gives you an object reference of the
list item that was clicked as a parameter, from which you
can retrieve the item property, as in:
LPARMAETERS oItem
nIndex = oItem.Index
But the DblClick method does not get any parameters. I'v tried:
This.Index
This.ListIndex
This.ListItems(This.Index)
to no avail
If I use:
This.ListItems(1)
or any other hard coded number, I get an object reference.
So how do I determine the Index/ListIndex if the Double Clicked
item?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only