| The Dialog class / ui.Dialog methods | |
Returns the current dialog object.
ui.Dialog.getCurrent() RETURNING result ui.Dialog
To get the current active dialog object, use the ui.Dialog.getCurrent() class method.
The method returns NULL if there is no current active dialog.
FUNCTION field_disable(name)
DEFINE name STRING
DEFINE d ui.Dialog
LET d = ui.Dialog.getCurrent()
IF d IS NOT NULL THEN
CALL d.setFieldActive(name, FALSE)
END IF
END FUNCTION