Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Window.HideScrollbars

Hides the scrollbars in a FileMaker window.

Component Version macOS Windows Linux Server iOS SDK
Window 2.4 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No

Deprecated

This function was deprecated.

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

Parameters

Parameter Description Example Flags
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 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 Optional

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.
Deprecated.

Examples

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

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

See also

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 12nd June 2020


Window.HideOverlay - Window.IgnoresMouseEvents