Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Double click
Message
 
 
To
27/01/2003 18:00:45
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00746031
Message ID:
00746046
Views:
22
Joey,

It sound like a bit of a strange UI. Is the user really expecting that clicking on an item is going to make the list of items themselves change and if so what if the item they just clicked to select is now no longer in the list?

You might want to use Click() and Rightclick() instead.

>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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform