Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Window.ShowOverlay
Adds an overlay to the window to dark content.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Window | 2.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
Deprecated
This function was deprecated.
MBS( "Window.ShowOverlay"; WindowRef; alpha; red; green; blue ) More
Parameters
Parameter | Description | Example |
---|---|---|
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 |
Result
Returns "OK" on success.
Description
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.
Deprecated.
Examples
Show an overlay:
MBS( "Window.ShowOverlay"; Get(WindowName); 0.5; 0.0; 0.0; 0.0 )
See also
Release notes
- Version 10.1
- Deprecated Window.AddBottomOverlay, Window.ShowContent, Window.HideContent, Window.ShowOverlay and Window.HideOverlay. If you need those, let us know soon.
Blog Entries
- MBS FileMaker Plugin, version 10.1pr7
- MBS Filemaker Plugin, version 4.0pr1
- MBS Filemaker Plugin, version 2.3pr2
- MBS Filemaker Plugin, version 2.3pr4
This function is free to use.
Created 18th August 2014, last changed 12nd June 2020