Platforms to show: All Mac Windows Linux Cross-Platform

Back to DesktopWindow class.

DesktopWindow.HasCloseBoxMBS as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Window MBS Util Plugin 21.5 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether this window has a CloseBox.
Example
mainwindow.HasCloseboxMBS=false 'remove closebox

You can read the state on Mac Classic, but you can only change it on Mac Carbon.
Returns false on any error.

In Xojo 2005 and newer you need to use self. in front of the method as the propertyname alone is not accepted.
(Read and Write computed property)

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


The biggest plugin in space...