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:
00026959
Vues:
32
>>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,

Thanks. I've tried some experimenting with this. I'm not there yet. Have you done this sort of thing? Would you have an example that you would be willing to share? I've got more work to do with this animal and another other thoughts that you might have would be appreciated.

Steve Despres
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform