All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 1.0   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   2.0   2.1   2.2   2.3   2.4   2.5   2.6  

Window.HasCloseButton

Component: Window
Version: 1.1
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 Window.FindByIndex functions. Pass zero to access the frontmost window. 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.

Loading



Links
MBS Real Studio PDF Plugins - Pfarrgemeinde St. Arnulf Nickenich