Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

Window.SetMiniaturizeButton

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

Component Version macOS Windows Linux Server iOS SDK
Window 1.1 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Window.SetMiniaturizeButton"; WindowRef; Value )   More

Parameters

Parameter Description Example
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 The new value.
Pass 1 to show or 0 to hide.
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
)

)

See also

Example Databases

Created 18th August 2014, last changed 18th January 2021


Window.SetMinWidth - Window.SetModified

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins

Start Chat