Sets the default label associated to a key.


   keyName STRING,
   text STRING )
  1. keyName is the logical name of a key such as F11 or DELETE, INSERT, CANCEL.
  2. text is the text associated to the key.


fgl_setkeylabel() associates a text description to a function or control key. Default action views (buttons that appears in the action panel of a window) will get the label displayed instead of the function or control key name.

This function defines the default key labels for all dialogs. There are different levels of key label definitions.

Note: This feature is supported for backward compatibility. Consider using action attributes to define accelerator keys and decorate actions.