Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many items in a list box?
Message
From
12/11/1996 09:31:51
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00011537
Message ID:
00012037
Views:
34
>I think I understand what you are suggesting, but I've tried playing around with it, and I can't get FoxPro to do the MOUSE command, and then check the new selected item. I've tried using stuff in the MouseUp method, the Click method, and the DragDrop method (and many combinations), but I can't get it to work. Would it be possible for you to share a small code snippet? I am really perplexed as to how FoxPro wants to work.
>
>Thanks again!
>
>--Sam

First of all check what event you fire releasing the mouse. In you case it should be MouseUp event of Listbox (not form!). I didn't test but I don't see any reason why you cannot issue MOUSE CLICK command in this snippet (surely it should be tested carefully). I presume that this command will force selection of listbox item. Sorry, I cannot attach snippet here because 1)I didn't have this problem 2)My browser doesn't allow long messages.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform