Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shortcut for a button - unexpected behaviour
Message
From
11/12/2015 01:03:35
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
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:
01628827
Views:
61
>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'.

A bit off topic
The OK button is to be expected the DEFAULT button and should fire on ENTER. The O might be used or not.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform