GClose陳述式
套用至
Form
描述
關閉表單。
使用方式
GClose Form
- Form
- 指定表單名稱或含表單名稱的字串變數。您也可提供系統表單ID,以關閉下列其中一個系統視窗:
- WIN_IOMON
- 關閉I/O監視器視窗。
- WIN_TASKMGR
- 關閉任務管理器視窗。
- WIN_FORCEMON
- 關閉力監視器視窗。
- WIN_SIMULATOR
- 關閉模擬器視窗。
備註
不要對不可見的表單使用GClose陳述式。
另請參閱
GShow、GShowDialog
範例
GClose frmSetup
GClose WIN_TASKMGR