ui.Dialog.getCurrent
Returns the current dialog object.
Syntax
ui.Dialog.getCurrent()
RETURNS ui.Dialog
Usage
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.
Example
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