Platforms to show: All Mac Windows Linux Cross-Platform

Back to Window class.

Window.SmoothResizeMBS(width as Integer,height as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Window MBS Util Plugin ✅ Yes ❌ No ❌ No ❌ No Desktop only
Resizes the window smoothly.
Example
dim w,h as Integer

// get destination dimension

w=300
h=200

// Resize

window1.SmoothResizeMBS w,h

// Now resize via RB to make it permament.

width=w
height=h

You need to set the new size using Xojo's Windows properties, too. (no longer needed with Xojo)
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 on 10.4 and newer.

Some examples using this method:

Blog Entries

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


The biggest plugin in space...