Platforms to show: All Mac Windows Linux Cross-Platform
Back to Window class.
Window.HasToolbarButtonMBS as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Window | MBS Util Plugin | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
You can read the state on Mac Classic, but you can only change it on Mac Carbon.
The Button is shown on next redraw of the window frame.
Use the CarbonWindowsEventsMBS class to receive events when the button is pressed.
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)
Some examples using this property:
The items on this page are in the following plugins: MBS Util Plugin.