Overlay.Resize
--------------

Resizes the window to the desired size.

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

MBS( "Overlay.Resize"; OverlayRef; Width; Height ) 

**MBS**( **"Overlay.Resize";** /\* Resizes the window to the desired size. \*/  
**$OverlayRef**; /\* The overlay window reference number.e.g. $overlay \*/   
**$Width**; /\* The new width of the window in points.e.g. 300 \*/   
**$Height**) /\* The new height of the window in points.e.g. 200 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| OverlayRef | The overlay window reference number. | $overlay |
| Width | The new width of the window in points. | 300 |
| Height | The new height of the window in points. | 200 |

### Result

Returns OK or error.

### Description

Resizes the window to the desired size.  
Like [Overlay.SetFrame](OverlaySetFrame.md) without changing the position.  
### Examples

Resize overlay:

 Set Variable \[ $r ; Value: MBS ("Overlay.Resize"; $$overlay ; 200; 200) \]  
### See also

- [Overlay.Release](OverlayRelease.md)
- [Overlay.SetFrame](OverlaySetFrame.md)

### FileMaker Magazin

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

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

  
[Overlay.ReleaseAll](OverlayReleaseAll.md) - [Overlay.SetAlpha](OverlaySetAlpha.md)

[HTML Version](OverlayResize.shtml)