Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sometimes need to click a button twice for it to do some
Message
From
31/08/2006 13:25:17
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01150066
Message ID:
01150166
Views:
21
>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.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform