ui.Dialog.accept
Validates and terminates the dialog.
Syntax
accept()
Usage
Use the accept()
method
to validate field input and terminate the dialog. This method is
equivalent to the ACCEPT INPUT
/ ACCEPT DISPLAY
/ ACCEPT DIALOG
instructions.
The method
is provided as a 3GL alternative to the ACCEPT
control
instructions, for example to terminate the dialog in a function,
outside the context of a dialog block, where control instructions
cannot be used.
Typical dialog validation rules are performed
when calling this method. See ACCEPT DIALOG
for more details.