Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command btn keypress event question
Message
 
To
09/02/2007 09:29:59
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01194019
Message ID:
01194148
Views:
20
>>I have a cmd btn that I only want enabled when the user clicks on it and want it disabled when said cmd btn has the focus so the user cannot hit ENTER and activate its click event. Can I move the focus to another control if the user DOES hit ENTER on it and not have it fire?
>
>Why would you do this? If the idea is to keep it out of the tab order, just set TabStop to .F.
>
>However, keep in mind that making a button mouse only means that some people with disabilities won't be able to use it.
>
>Tamar

That works perfectly too, thanks.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform