Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSWindowMBS class.

CenterResizeInstallMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Cocoa MBS MacControls Plugin 15.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Installs the center resize function.

The plugin can provide for Xojo and Xojo the center based window resizing.
Call this method early in app.open to prepare everything.

Than register windows with CenterResizeAddWindowMBS in window open event and unregister with CenterResizeRemoveWindowMBS in window close event. This works for all windows you register.

Some examples using this global method:

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


The biggest plugin in space...