Platforms to show: All Mac Windows Linux Cross-Platform

Back to Window class.

Window.IsZoomedMBS as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Window MBS Util Plugin ❌ No ✅ Yes ❌ No ❌ No Desktop only
Returns true if this window has been maximized.
Example
MsgBox str(window1.IsZoomedMBS)

If you set IsZoomed to true the window is maximized and if you set it to false the window size and position is restored.
In Xojo 2005 and newer you need to use self. in front of the method as the propertyname alone is not accepted.

Works on Cocoa.
(Read and Write computed property)

Some examples using this property:

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...