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:
00026959
Views:
30
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform