ProgressDialog.GetCancel
------------------------

Queries the cancel state.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ProgressDialog](component_ProgressDialog.md) | [2.4](newinversion24.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |

MBS( "ProgressDialog.GetCancel" ) ### Parameters

none

### Result

The current state. 1 = cancel pressed, 0 = cancel not pressed.

### Description

Queries the cancel state.   
Cancel property is set when the user clicks the cancel button. It is reset when you call [ProgressDialog.Show](ProgressDialogShow.md). You can also set it with [ProgressDialog.SetCancel](ProgressDialogSetCancel.md).  
### Examples

Query cancel state

 MBS ( "ProgressDialog.GetCancel" )  
### See also

- [JSON.Import](JSONImport.md)
- [ProgressDialog.GetProgress](ProgressDialogGetProgress.md)
- [ProgressDialog.GetTitle](ProgressDialogGetTitle.md)
- [ProgressDialog.GetTopMost](ProgressDialogGetTopMost.md)
- [ProgressDialog.SetCancel](ProgressDialogSetCancel.md)
- [ProgressDialog.SetFont](ProgressDialogSetFont.md)
- [ProgressDialog.SetImage](ProgressDialogSetImage.md)
- [ProgressDialog.SetTitle](ProgressDialogSetTitle.md)
- [ProgressDialog.SetTopText](ProgressDialogSetTopText.md)
- [XML.Import](XMLImport.md)

### Example Databases

- [CURL/Batch Download](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/Batch%20Download.shtml#1ScriptAnchor_)
- [CURL/CURL Download in Background](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/CURL%20Download%20in%20Background.shtml#1ScriptAnchor_)
- [CURL/Email/Batch Emailer](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/Email/Batch%20Emailer.shtml#1ScriptAnchor_)
- [CURL/Email/Email Client](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/Email/Email%20Client.shtml#3ScriptAnchor_)
- [JSON/JSON Import](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/JSON/JSON%20Import.shtml#1ScriptAnchor_)
- [Mac and iOS/Contacts/Contacts to FileMaker](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Contacts/Contacts%20to%20FileMaker.shtml#1ScriptAnchor_)
- [Mac only/MetaDataQuery/Search Applications](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/MetaDataQuery/Search%20Applications.shtml#1ScriptAnchor_)
- [WebViewer/WebViewer Download Delegate for Mac](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/WebViewer/WebViewer%20Download%20Delegate%20for%20Mac.shtml#2ScriptAnchor_)
- [Window/Progress Dialog](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Window/Progress%20Dialog.shtml#1ScriptAnchor_)
- [XML/XML Import](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/XML/XML%20Import.shtml#1ScriptAnchor_)

### Blog Entries

- [MBS Plugin Advent calendar: 14 - Progress Dialog](https://www.mbsplugins.de/archive/2023-12-14/MBS_Plugin_Advent_calendar_14_/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 5/2018, Seite 25](https://filemaker-magazin.de/neuigkeit/4011-Appetithappen-FMM_201805)
- [Ausgabe 2/2017, Seite 40](https://filemaker-magazin.de/neuigkeit/3930-Appetithappen-FMM_201702)

This function checks for a license.

Created 18th August 2014 , last changed 15th October 2022

  
[ProgressDialog.GetButtonCaption](ProgressDialogGetButtonCaption.md) - [ProgressDialog.GetImageHeight](ProgressDialogGetImageHeight.md)

[HTML Version](ProgressDialogGetCancel.shtml)