Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

Window.SetResizable

Component: Window
Version: 2.4
Mac OS X: Works
Windows: Works

MBS( "Window.SetResizable"; WindowRef; Value )

Parameters

Parameter Description Example value
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

Result

Returns "OK" on success.

Description

Sets whether window is resizable.

Examples

Disable resize for frontmost window:

MBS("Window.SetResizable"; 0; 0)

Enable resize for window:

MBS("Window.SetResizable"; $WindowRef; 1)

Feedback: Report problem or ask question.




Links
MBS Realbasic PDF Plugins - Nachhilfe Nickenich