This topic explains the purpose of the ui.DIALOG class.
Inside a dialog instruction, the DIALOG predefined keyword represents the current dialog object. This dialog object can be used to execute methods provided by the ui.Dialog built-in class.
BEFORE INPUT CALL DIALOG.setActionActive("zoom",FALSE) AFTER FIELD field1 CALL DIALOG.setActionHidden("zoom",TRUE)
ON CHANGE custname CALL DIALOG.setFieldActive( "custaddr", (rec.custname IS NOT NULL) )
BEFORE DIALOG CALL DIALOG.setSelectionMode( "sr1", 1 )