Window.ClearCloseTrigger
------------------------

Clears close trigger.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Window](component_Window.md) | [12.1](newinversion121.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "Window.ClearCloseTrigger"; Ref ) 

**MBS**( **"Window.ClearCloseTrigger";** /\* Clears close trigger. \*/  
**$Ref**) /\* Pass window or web viewer reference number. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Ref | Pass window or web viewer reference number. |  |

### Result

Returns OK or error.

### Description

Clears close trigger.  
### See also

- [Window.SetCloseTrigger](WindowSetCloseTrigger.md)

### Release notes

- **Version 12.1**
    - Added [Window.ClearCloseTrigger](https://www.mbsplugins.eu/WindowClearCloseTrigger.shtml) and [Window.SetCloseTrigger](https://www.mbsplugins.eu/WindowSetCloseTrigger.shtml) function.

### Blog Entries

- [New in MBS FileMaker Plugin 12.1](https://www.mbsplugins.de/archive/2022-03-22/New_in_MBS_FileMaker_Plugin_12/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 12.1pr1](https://www.mbsplugins.de/archive/2022-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 20th January 2022 , last changed 20th January 2022

  
[Window.AsPDF](WindowAsPDF.md) - [Window.ClearFocus](WindowClearFocus.md)

[HTML Version](WindowClearCloseTrigger.shtml)