This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
Is window maximized
|
Is window maximized ( window ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
window | WinRef |
![]() |
Window reference number | |||||
Function result | Boolean |
![]() |
True if the window is maximized, False otherwise | |||||
The Is window maximized command returns True if the window whose reference number is passed in window is currently maximized, and False otherwise.
You want to switch between the maximized and previous states:
If(Is window maximized($winRef))
MINIMIZE WINDOW($winRef)
Else
MAXIMIZE WINDOW($winRef)
End if
Product: 4D
Theme: Windows
Number:
1830
Created: 4D v20 R5
4D Language Reference ( 4D v20 R7)