Configuring actions / Action attributes list |
The CONTEXTMENU attribute defines whether a context menu option must be displayed for an action.
Syntax 1 (Dialog action handlers and form action defaults)
CONTEXTMENU = [ AUTO | YES | NO ]
Syntax 2 (Global .4ad action defaults file)
contextMenu = [ "yes" | "no" | "auto" ]
CONTEXTMENU is an action attribute defining whether the context menu option must be displayed for an action.
Possible values for CONTEXTMENU are:
This attribute applies to the actions defined by the current dialog in the current window. It can be specified as action default attribute in a global .4ad file, in the ACTION DEFAULTS section of form files, or as dialog action attribute.
-- As action handler attribute ON ACTION zoom ATTRIBUTES(CONTEXTMENU=YES) -- As action default ACTION DEFAULTS ACTION zoom (CONTEXTMENU=YES) END -- In a global action defaults file <ActionDefault name="zoom" contextMenu="yes" ... />