Overlay.SetHasShadow
--------------------

Sets whether window has a shadow.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Overlay](component_Overlay.md) | [14.1](newinversion141.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "Overlay.SetHasShadow"; OverlayRef; Value ) 

**MBS**( **"Overlay.SetHasShadow";** /\* Sets whether window has a shadow. \*/  
**$OverlayRef**; /\* The overlay window reference number.e.g. $overlay \*/   
**$Value**) /\* Pass 1 to enable shadow and 0 to disable it. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| OverlayRef | The overlay window reference number. | $overlay |
| Value | Pass 1 to enable shadow and 0 to disable it. |  |

### Result

Returns OK or error.

### Description

Sets whether window has a shadow.  
### See also

- [Overlay.GetHasShadow](OverlayGetHasShadow.md)

### FileMaker Magazin

- [Ausgabe 4/2025, Seite 31](https://filemaker-magazin.de/neuigkeit/4297-Appetithappen-FMM_202504)
- [Ausgabe 4/2025, Seite 28 bis 29](https://filemaker-magazin.de/neuigkeit/4297-Appetithappen-FMM_202504)

Created 22nd January 2024 , last changed 24th January 2024

  
[Overlay.SetFrameWithControl](OverlaySetFrameWithControl.md) - [Overlay.SetIgnoresMouseEvents](OverlaySetIgnoresMouseEvents.md)

[HTML Version](OverlaySetHasShadow.shtml)