ProgressDialog.SetShowButton
----------------------------

Sets whether to show the cancel button or not.

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

MBS( "ProgressDialog.SetShowButton"; Flag ) 

**MBS**( **"ProgressDialog.SetShowButton";** /\* Sets whether to show the cancel button or not. \*/  
**$Flag**) /\* Whether to show or hide the show button.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Flag | Whether to show or hide the show button. | 1 |

### Result

Returns "OK" on success.

### Description

Sets whether to show the cancel button or not.  
### Examples

Hide button:

 MBS ( "ProgressDialog.SetShowButton"; 0 )  
Show button:

 MBS ( "ProgressDialog.SetShowButton"; 1 )  
### See also

- [CURL.SetUpdateProgressDialog](CURLSetUpdateProgressDialog.md)
- [FM.InsertSetUpdateProgressDialog](FMInsertSetUpdateProgressDialog.md)
- [ProgressDialog.GetPositionX](ProgressDialogGetPositionX.md)
- [ProgressDialog.GetPositionY](ProgressDialogGetPositionY.md)
- [ProgressDialog.GetShowButton](ProgressDialogGetShowButton.md)
- [ProgressDialog.SetPosition](ProgressDialogSetPosition.md)
- [ProgressDialog.SetTitleIcon](ProgressDialogSetTitleIcon.md)
- [ProgressDialog.Show](ProgressDialogShow.md)

### Example Databases

- [CURL/CURL Download in Background](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/CURL%20Download%20in%20Background.shtml#1ScriptAnchor_)
- [CURL/CURL Download with Progress](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/CURL%20Download%20with%20Progress.shtml#1ScriptAnchor_)
- [CURL/FTP/CURL FTP Upload from file with Progress](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/FTP/CURL%20FTP%20Upload%20from%20file%20with%20Progress.shtml#2ScriptAnchor_)
- [CURL/FTP/CURL FTP Upload](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/FTP/CURL%20FTP%20Upload.shtml#4ScriptAnchor_)
- [CURL/SFTP/CURL sFTP Upload File](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/SFTP/CURL%20sFTP%20Upload%20File.shtml#1ScriptAnchor_)
- [Mac and iOS/AVExport](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/AVExport.shtml#1ScriptAnchor_)
- [Mac only/MetaDataQuery/Search Applications](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/MetaDataQuery/Search%20Applications.shtml#1ScriptAnchor_)
- [SmartCard/Belgian EID Reader](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/SmartCard/Belgian%20EID%20Reader.shtml#3ScriptAnchor_)

### 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)

This function checks for a license.

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

  
[ProgressDialog.SetProgress](ProgressDialogSetProgress.md) - [ProgressDialog.SetTitle](ProgressDialogSetTitle.md)

[HTML Version](ProgressDialogSetShowButton.shtml)