Action display in the context menu
The CONTEXTMENU
action default attribute allows you to control action
visibility in the context menu.
A context menu can be shown with a mouse right-click, with all the active actions that are possible in the current form.
Displaying all actions might not be adapted to your needs. To control if an action must be
displayed in the context menu, set the CONTEXTMENU
attribute in action defaults.
Values for CONTEXTMENU
can be YES
, NO
and
AUTO
.
ACTION DEFAULTS
...
ACTION insert ( ... CONTEXTMENU = YES ... )
ACTION append ( ... CONTEXTMENU = YES ... )
ACTION delete ( ... CONTEXTMENU = YES ... )
...
ACTION validate_order ( ... CONTEXTMENU = NO ... )
...
END