Configuring actions / Action attributes list |
The DEFAULTVIEW attribute defines if a default view (a button) must be displayed for a given action.
Syntax 1 (Dialog action handlers and form action defaults)
DEFAULTVIEW = [ AUTO | YES | NO ]
Syntax 2 (Global .4ad action defaults file)
defaultView = [ "yes" | "no" | "auto" ]
DEFAULTVIEW is an action attribute defining whether the default action view (a button) must be displayed for an action.
The default is AUTO.
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(DEFAULTVIEW=YES) -- As action default ACTION DEFAULTS ACTION zoom (DEFAULTVIEW=YES) END -- In a global action defaults file <ActionDefault name="zoom" defaultView="yes" ... />