Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX Listview question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
ActiveX Listview question
Divers
Thread ID:
00403471
Message ID:
00403471
Vues:
44
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform