Dialog.GetSuppressionState
--------------------------

Queries the suppression state after you showed the dialog.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Dialog](component_Dialog.md) | [4.1](newinversion41.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "Dialog.GetSuppressionState" ) ### Parameters

none

### Result

Returns 0, 1 or error.

### Description

Queries the suppression state after you showed the dialog.  
So first call [Dialog.SetShowsSuppressionButton](DialogSetShowsSuppressionButton.md) to set flag to 1. Then you use [Dialog.Run](DialogRun.md) to show the dialog and finally after the dialog is done, you can use this function to query result and see if checkbox was set by user.  
### See also

- [Dialog.Run](DialogRun.md)
- [Dialog.SetShowsSuppressionButton](DialogSetShowsSuppressionButton.md)

### Example Databases

- [Window/Dialog](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Window/Dialog.shtml#1ScriptAnchor_)

This function is free to use.

Created 18th August 2014 , last changed 3th April 2021

  
[Dialog.GetSuppressionButtonTitle](DialogGetSuppressionButtonTitle.md) - [Dialog.GetTextAlignment](DialogGetTextAlignment.md)

[HTML Version](DialogGetSuppressionState.shtml)