Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine what item is at X & Y coords in a listb
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00026869
Message ID:
00026871
Vues:
28
>Given that the .MouseOver event passes the X and Y coordinates into the method, how can one determine what item in the listbox these coordinates are at?
>
>Thanks,
>Steve Despres
>EZ Data Inc
>sdespres@erols.com

Sorry, I repeat my response. Firstly, you do MouseDown, i.e. you click on item and here you reset List.Listindex property which tells you what item you selected. Holding and dragging mouse over list you obviously reset Listindex to other items and eventually in MouseUp you know where you ended up.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform