Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets whether window is resizable.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Window | 2.4 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example |
---|---|---|
WindowRef | Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. | 0 |
Value | Whether window should be resizable: 0 for non resizable or 1 for resizable. | 1 |
Returns "OK" on success.
Disable resize for frontmost window:
MBS("Window.SetResizable"; 0; 0)
Enable resize for window:
MBS("Window.SetResizable"; $WindowRef; 1)
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014