Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine what item is at X & Y coords in a listb
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00026869
Message ID:
00026871
Views:
26
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform