SHOWDIALOG

Top  Previous  Next

Syntax

SHOWDIALOG(dlg as DIALOG,OPT parent as DIALOG|WINDOW)

Description

Displays a non-modal dialog.

Parameters

dlg - Variable of type DIALOG initialized with CREATEDIALOG

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

Return value

None

Remarks

Unlike DOMODAL a dialog shown with SHOWDIALOG does not block user input with other window. A non-modal dialog requires normal message processing with a WAIT or WAITUNTIL loop.

See Also: CREATEDIALOG, CLOSEDIALOG, DOMODAL

Example usage

SHOWDIALOG mydlg, mainwin