Topics   All   Mac OS X (Only)   Windows (Only)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 4.0   4.1   4.2   4.3   4.4   5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2    Statistic  

Window.SetResizable

Component: Window
Version: 2.4
Mac OS X: Yes
Windows: Yes
Server: No

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)

See also


Window.SetModified   -   Window.SetShadow

Feedback: Report problem or ask question.




Links
MBS REAL studio tutorial videos - Pfarrgemeinde Ministranten Nickenich