Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  


Adds an overlay to the window to dark content.

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


This function was deprecated.

MBS( "Window.ShowOverlay"; WindowRef; alpha; red; green; blue )   More


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
alpha The alpha value to use. Range 0.0 (invisible) to 1.0 (full visible). Default 0.5. 0.5
red The red color value. Default 0.0. 0.0
green The green color value. Default 0.0. 0.0
blue The blue color value. Default 0.0. 0.0


Returns "OK" on success.


Adds an overlay to the window to dark content.
This way you can have the user focus on a dialog in front of the main window.

Does not work in FileMaker 18.


Show an overlay:

MBS( "Window.ShowOverlay"; Get(WindowName); 0.5; 0.0; 0.0; 0.0 )

See also

Blog Entries

Release notes

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

Window.ShowKeyboard   -   Window.ShowScrollbars

Feedback: Report problem or ask question.

MBS Xojo Plugins