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.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

Window.HideScrollbars

Hides the scrollbars in a FileMaker window.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Window 2.4 Yes Yes No No No

MBS( "Window.HideScrollbars"; WindowRef { ; NoResizeHandler } )

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
NoResizeHandler Optional
Optionally, whether to not watch for window resizing to keep scrollbars hidden even if FileMaker normally shows them. Default is 0. You can pass 1 to disable the default behavior.
0

Result

Returns "OK" on success.

Description

Hides the scrollbars in a FileMaker window.
Please also use Window.SetResizable to disable resize.
Works fine with FileMaker 11/12 on Mac and Windows. Also works with FileMaker 10 on Windows (but not on Mac).
Please update plugins to latest 2.7 release to have this function work in FileMaker 12.
FileMaker may decide to show scrollbars when resizing, so please disable resizing, too.
The plugin installs a resize handler for Mac, so we can keep scrollbars hidden in FileMaker 12 for now while resizing.

Disabled for FileMaker 16, so it returns only an error.

Examples

Looks up window reference for the window named test and hides scrollbars there:

MBS("Window.HideScrollbars"; MBS("Window.FindByTitle"; "test"))

See also

Example Databases


Window.HideOverlay   -   Window.IgnoresMouseEvents

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins