Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

Window.ShowOverlay

Component: Window
Version: 2.3
Mac OS X: Works
Windows: Does nothing

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

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

Examples

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

Feedback: Report problem or ask question.




Links
MBS Realbasic Chart Plugins - Jugendzentrum Nickenich