Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcut for a button - unexpected behaviour
Message
De
11/12/2015 01:03:35
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
10/12/2015 21:52:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01628824
Message ID:
01628827
Vues:
60
>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]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform