EventMonitor.ClearCardWindow
----------------------------

Clears trigger for card window.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [EventMonitor](component_EventMonitor.md) | [7.3](newinversion73.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "EventMonitor.ClearCardWindow" ) ### Parameters

none

### Result

Returns OK or error.

### Description

Clears trigger for card window.  
Please call in close trigger for the card layout and in script triggered by [EventMonitor.SetCardWindow](EventMonitorSetCardWindow.md).  
### Examples

Close script:

 Close Window \[ Name: "Card" ; Current file \]   
Set Variable \[ $r ; Value: MBS ("EventMonitor.ClearCardWindow") \]  
### See also

- [EventMonitor.Clear](EventMonitorClear.md)
- [EventMonitor.SetCardWindow](EventMonitorSetCardWindow.md)

### Release notes

- **Version 7.3**
    - Added [EventMonitor.ClearCardWindow](http://www.mbsplugins.eu/EventMonitorClearCardWindow.shtml) and [EventMonitor.SetCardWindow](http://www.mbsplugins.eu/EventMonitorSetCardWindow.shtml) to handle clicks outside a card window.

### Example Databases

- [Window/Card Window Test](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Window/Card%20Window%20Test.shtml#5ScriptAnchor_)
- [Window/Popover CardWindow](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Window/Popover%20CardWindow.shtml#2ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Plugin, version 7.3pr1](https://www.mbsplugins.de/archive/2017-06-05/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)
- [FileMaker 16 Card Window hacks with MBS Plugin](https://www.mbsplugins.de/archive/2017-06-03/FileMaker_16_Card_Window_hacks/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 2nd June 2017 , last changed 2nd June 2017

  
[EventMonitor.Clear](EventMonitorClear.md) - [EventMonitor.GetEnabled](EventMonitorGetEnabled.md)

[HTML Version](EventMonitorClearCardWindow.shtml)