Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accepting double click but not the focus
Message
 
 
À
13/07/2001 19:17:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00530544
Message ID:
00530565
Vues:
17
>I have a field which I need to accept the double click but when the user does a single click or presses a key, the focus should not appear on the field. What is the best approach to do that?

In the GotFocus event: set cursor off. In DoubleClick event set cursor on in LostFocus event set cursor on. Is it enough? If not, you may try to move focus to another control, but this way, DoubleClick would not work too.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform