Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut for a button - unexpected behaviour
Message
From
11/12/2015 00:57:04
 
 
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:
01628826
Views:
75
>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'.

Pretty certain it could be done, but as this goes against common expectations you would puzzle new users AND maintainers so I'd argue against it.
Previous
Reply
Map
View

Click here to load this message in the networking platform