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   4.3  

Window.SetMiniaturizeButton

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

MBS( "Window.SetMiniaturizeButton" ; 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 Miniaturize Button on a window.

Examples

Set the Miniturize buton off

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

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

)

Set the Miniturize buton On

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

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

)

Feedback: Report problem or ask question.




Links
MBS Real Studio Plugins - Christians Software aus Nickenich