Member variable XbpCrt():useShortCuts Foundation

Enables shortcut keys for the system menu.

Attribute: EXPORTED
Data type: Logical (.F.)
Description

By default the instance variable :useShortCuts contains the value .F. (false) and the XbpCrt window ignores the shortcut keys (Alt+F4 etc.) defined for the system menu of the window. This allows the XbpCrt window to process these keys. To automatically process these keys as menu shortcut keys, :useShortCuts must be set to .T. (true). In this case, some key codes are no longer generated by the function AppEvent(). For example, after pressing Alt+4 the code xbeP_Close is generated instead of xbeK_ALT_F4.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.