GShowDialog Function

Applies To
Form

Description
GShowDialog displays a form as a modal dialog box and returns the DialogResult value.

Usage

GShowDialog(Form)  
Form
Name of a form or string variable containing a form name.

Returns
The value of the form's DialogResult property is returned.

See Also
GShow, GShowDialog Statement

Example

result = GShowDialog(frmSetup)  
If result = DIALOGRESULT_OK Then  
  Call SaveSettings  
EndIf