Topics   All   Mac OS X (Only)   Windows (Only)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 4.0   4.1   4.2   4.3   4.4   5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4    Statistic  

Window.SetShowsToolbarButton

Component: Toolbar Window
Version: 2.4
Mac OS X: Yes
Windows: No
Server: No

MBS( "Window.SetShowsToolbarButton"; WindowRef; Value )

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
Value Whether to ignore mouse events or not. Pass 1 to ignore mouse events or 0 to not ignore mouse events. 1

Result

Returns "OK" on success.

Description

Sets whether toolbar on/off button should be shown or not.

Examples

Hide toolbar button for frontmost window:

MBS("Window.SetShowsToolbarButton"; 0; 0)

Show toolbar button for window:

MBS("Window.SetShowsToolbarButton"; $WindowRef; 1)

See also


Window.SetShadow   -   Window.SetTag

Feedback: Report problem or ask question.




Links
MBS REAL studio tutorial videos - Förderverein St. Arnulf Nickenich