4D v16.3

MINIMIZE WINDOW

Home

 
4D v16.3
MINIMIZE WINDOW

MINIMIZE WINDOW 


 

MINIMIZE WINDOW {( window )} 
Parameter Type   Description
window  WinRef in Window reference number or if omitted, all the current process frontmost windows (Windows) or current process frontmost window (Mac OS)

The MINIMIZE WINDOW command sets the size of the window whose number is passed as window to the size it was before being maximized. If window is omitted, the command applies to each window of the application (Windows) or to the frontmost window of the process (on Mac OS).

This command has the same effect as one click on the reduction box of the 4D application:

The size of the window is set to its initial size, i.e., its size before being maximized. If the window parameter is omitted, all the application windows are set to their initial sizes.


Reduction box on Windows

The size of the window is set to its initial size (i.e. its size before being maximized). If the window parameter is omitted, the frontmost window of the current process is set to its initial size.


Reduction/zoom box on Mac OS

If the windows to which the command is applied were not previously maximized (manually or using MAXIMIZE WINDOW), or if the window type does not include a zoom box, the command has no effect. For more information on window types, refer to the Window Types (compatibility) section.

Note: This function is not to be confused with minimizing a window to a button (Windows) or in the Dock (Mac OS), which is triggered by a click on the button shown:


Windows


Mac OS



See also 

MAXIMIZE WINDOW

 
PROPERTIES 

Product: 4D
Theme: Windows
Number: 454

This command has platform-specific behaviorThis command has platform-specific behavior

 
HISTORY 

Created: 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)