CONTEXTMENU action attribute
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" ]
Usage
Example
-- 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" ... />