Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Double click
Message
 
 
À
27/01/2003 18:00:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00746031
Message ID:
00746046
Vues:
23
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform