Topics   All functions   Mac OS X   Windows   Crossplatform   Server   Components   Guides   Statistic  
New in version: 3.0   3.1   3.2   3.3   3.4   3.5   4.0   4.1   4.2  

Window.SetZoomButton

Component: Window
Version: 1.1
Mac OS X: Works
Windows: Works
Server: Will not work on server due to missing GUI.

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 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
)
)

Feedback: Report problem or ask question.




Links
MBS Realbasic tutorial videos - Besuchen Sie die JUZ Nickenich Webseite