All functions   Mac OS X   Windows   Crossplatform   Components   New in version: 1.0   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   2.0  

Window.HasCloseButton

Component: Window
Mac OS X: Works
Windows: Works

MBS( "Window.HasCloseButton" ; WindowRef )

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 the Window.FindByindex Function 0

Description

You can control weather a Window has a close button or not. This function returns the current state of the window's close button.

Examples

State of the Window Close Button

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


GetAsBoolean(
MBS(
"Window.HasCloseButton";
WindowRef
) = "true"
)
)

Feedback: Report problem or ask question.