Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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

Blog Entries

This function checks for a license.

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


Window.SetMinWidth - Window.SetModified