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


Turns shadow on or off.

Component Version macOS Windows Linux Server iOS SDK
Window 1.1 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "Window.SetShadow"; WindowRef; On or Off )   More


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
On or Off 1


Turns shadow on or off.
On macOS window's normally have a shadow, this function lets you turn the shadow on and off

See also

This function checks for a license.

Created 18th August 2014, last changed 10th August 2020

Window.SetResizable - Window.SetShowsToolbarButton