Form-CloseAll

Function Name dcl-Form-CloseAll
Syntax   (dcl-Form-CloseAll DialogTypes [as Bitflag])
Return Type Boolean (T if successful; otherwise NIL)
Applies To All Forms

This method closes all open dialog boxes of the types specified in the DialogTypes argument. This method can close dialog boxes from other applications, so it should only be used during development for testing or debugging.

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