Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sometimes need to click a button twice for it to do some
Message
De
01/09/2006 04:22:44
 
 
À
31/08/2006 13:25:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01150066
Message ID:
01150310
Vues:
28
Hi,

>>When my program runs, it opens a form that I call the "program map". It has buttons for the key options in the software.
>>
>>The user clicks a button on the "program map" to run other forms.
>>
>>Although the user can close the "program map" form, most choose to keep it open.
>>
>>Here is the problem: sometimes a single click on a button on the map will work. Sometimes the user needs to click twice for something to happen.
>>
>>How can I get it to react to a single click every time?
>>
>>Cyril
>
>It sounds like your form may not have the focus, so the first click is to bring the form back into focus, and then the second click will execute the Click code.

I thought the same but a quick check reveals it's not the (simple) case - first click on the button does fire the click event (preceded by the Form.Activate)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform