Configuring default action views dynamically
Attributes of default action
views can be changed dynamically during a dialog execution with
ui.Dialog.setAction*()
methods.
For example, to change the text and icon of the default action view bound to the "print" action:
CALL DIALOG.setActionText("print", "Print order" )
CALL DIALOG.setActionImage("print", "printer" )
The corresponding default action view will be decorated with the new text and icon.
Note: The attributes set with
ui.DIALOG.setAction*()
methods are volatile
and last only for the duration of the current dialog.