Link Search Menu Expand Document

Dialog.SetWindowState Method

Explanation Maximize and minimize the dialog and change the context.
Added since Ver.4.1.3
Not supported in Mobile, AI
Call format Dialog1.SetWindowState( state )
Return value None
Arguments integer state Specify the settings related to the size of the dialog and the settings related to the context.
If both are specified at the same time, the values will be added. ($ MAXMIZE + $ FRONT, etc.)

Specify the size status with one of the values ​​below.
Constant Value Description
$ MINIMIZE 1 Minimize
$ MAXIMIZE 2 Maximize
$ RESTORE 3 If it is currently maximized or minimized, restore it.
$ FULLSCREEN 32 Moves to full screen display mode without title bar
Added since Image
Specify the context with one of the values ​​below.
Constant Value Description
$ FRONT 8 Move the window to the table
$ BACK 16 16 Move the window to the back
Exception None
Example of use
Dialog1.SetWindowState($MAXIMIZE + $FRONT);
    
Related item WindowStateChanged event