>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.
OffThere is no place like [::1]