DOMODAL

Top  Previous  Next

Syntax

INT = DOMODAL(dlg as DIALOG, OPT parent as DIALOG|WINDOW)

Description

Shows a modal dialog.

Parameters

dlg - A DIALOG variable initialized with the CREATEDIALOG statement

parent - Optional. Specifies the parent window or dialog for this dialog. Overrides the parent parameter in the CREATEDIALOG statement

Return value

The value given to the CLOSEDIALOG statement or @IDCANCEL

Remarks

See Also CLOSEDIALOG, CREATEDIALOG

Example usage

DOMODAL d1, mainwin