Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveX Listview question
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
ActiveX Listview question
Miscellaneous
Thread ID:
00403471
Message ID:
00403471
Views:
43
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?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform