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   6.3   6.4    Statistic  

Window.SetZoomButton

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

MBS( "Window.SetZoomButton"; WindowRef; On or Off )

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
On or Off The new setting. 1

Description

This function enables or disables the the Zoom Button on a window.

Examples

Set The Zoom button

Let(
[
windowRef = MBS("Window.FindByTitle"; Get(WindowName))
];

MBS(
"Window.SetZoomButton";
windowRef;
0
)

)

Set The Zoom button

Let(
[
windowRef = MBS("Window.FindByTitle"; Get(WindowName))
];

MBS(
"Window.SetZoomButton";
windowRef;
1
)
)

See also


Window.SetTopMost   -   Window.Show

Feedback: Report problem or ask question.




Links
MBS Realbasic Plugins - Pfarrgemeinde Messdiener Nickenich