Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

Window.SetShowsToolbarButton

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

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Toolbar Window 2.4 Yes No No No 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

Example Databases


Window.SetShadow   -   Window.SetTag

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins