Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement