Sets the label associated to a key for the current interactive instruction.


   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.


The fgl_dialog_setkeylabel() associates a text description to a function or control key for the current dialog. 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 key labels for the current dialog. 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.