GClose Statement

Applies To
Form

Description
Close the form.

Usage

GClose  Form  
Form
Name of a form or string variable containing a form name. You can also supply a system form ID to close one of the following system windows:
WIN_IOMON
Closes the I/O Monitor window.
WIN_TASKMGR
Closes the Task Manager window.
WIN_FORCEMON
Closes the Force Monitor window.
WIN_SIMULATOR
Closes the Simulator window.

Remarks
Do not use GClose for a form which is not displayed.

See Also
GShow, GShowDialog

Example

GClose frmSetup  
  
GClose WIN_TASKMGR