Text attribute shows default action view

When creating actions with ON KEY (or COMMAND KEY without a command name in a MENU), the default action view (i.e. button in action frame) is invisible. However, if you define a text action attribute for the corresponding key action, the default action view is made visible.

You can also control the visibility of the default action view with the DEFAULTVIEW action attribute.

Note that it is also possible to set key labels with form attributes (KEY) or with function calls (FGL_SETKEYLABEL()), this feature is supported for backward compatibility. Use action default text attributes in new developments.