Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut for a button - unexpected behaviour
Message
From
11/12/2015 01:21:57
 
 
To
10/12/2015 21:52:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01628824
Message ID:
01628828
Views:
51
>In the existing application button \<OK closes a form. Shortcut ALT+O was meant to be used to trigger this button click event. It turned out that just pressing single O/o on a keyboard also triggers this button click event and closes the form. I created a form with a single button \<OK and it is the case. Is it known behaviour and if so, is there way without changing existing caption \<OK to avoid closing a form on pressing just 'O'.

In case you have a stuck Alt key, try pressing each of them 20 or 30 times.

If that helps you might want to "burp" your keyboard:

- place a piece of newspaper or cloth below your keyboard
- flip it over and hit it gently 15 or 20 times on its backside
- prepare to be disgusted at the crap that falls out of it
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform