Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Double click
Message
From
27/01/2003 18:00:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Double click
Miscellaneous
Thread ID:
00746031
Message ID:
00746031
Views:
43
I have discovered that, at least when it comes to listboxes, that if you double click a listbox, the code in the click method runs before the code in the doubleclick method, thereby screwing up things royally.

For example: listbox.click() -- do A
listbox.dblclick() -- do B

No matter how fast I double click, what I set _dblclick to, or any other thing I've tried including setting flags, delaying tactics, whatever. If the code in click() runs, the code in dblclick() does not, evidently because the code in click() re-populates the array that is the rowsource for the listbox.

Any ideas?


Joey...
Next
Reply
Map
View

Click here to load this message in the networking platform