| Function Name | dcl-Form-CloseAll |
|---|---|
| Syntax | (dcl-Form-CloseAll
DialogTypes [as
Bitflag]) |
| Return Type | Boolean (T if successful; otherwise NIL) |
| Applies To | All Forms |
此方法关闭DialogTypes参数中指定的类型的所有打开的对话框。 此方法可以从其他应用程序关闭对话框,因此它只应在开发过程中用于测试或调试。
| DialogTypes | Bit | Description |
| 0 | - | All dialog types |
| 1 | 0 | Modal dialogs |
| 2 | 1 | Modeless dialogs |
| 4 | 2 | Dockable dialogs |
| 8 | 3 | Options tab |
| 16 | 4 | Tab page |
| 32 | 5 | File Dialog |
| 64 | 6 | Palette |