Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

Window.SetShowsToolbarButton

Component: Window
Version: 2.4
Mac OS X: Works
Windows: Does nothing

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)

Feedback: Report problem or ask question.




Links
MBS Realbasic PDF Plugins - Pfarrgemeinde St. Arnulf Nickenich