ProgressDialog.SetButtonCaption
-------------------------------

Sets the cancel button text.

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

MBS( "ProgressDialog.SetButtonCaption"; Text ) 

**MBS**( **"ProgressDialog.SetButtonCaption";** /\* Sets the cancel button text. \*/  
**$Text**) /\* The new button text.e.g. "Annuler" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Text | The new button text. | "Annuler" |

### Result

Returns "OK" on success.

### Description

Sets the cancel button text.   
Default is "Cancel" if you don't call this method. If your solution supports multiple languages, it may be worth putting those texts into an extra table and picking the right text at runtime.  
### Examples

Set button text for Germany:

 MBS ( "ProgressDialog.SetButtonCaption"; "Abbrechen" )  
### See also

- [Dialog.SetButton](DialogSetButton.md)
- [FM.CompareTables](FMCompareTables.md)
- [ImageCapture.RequestScan](ImageCaptureRequestScan.md)
- [ImageCapture.SetParameter](ImageCaptureSetParameter.md)
- [JSON.Import](JSONImport.md)
- [ProgressDialog.GetButtonCaption](ProgressDialogGetButtonCaption.md)
- [ProgressDialog.SetBottomText](ProgressDialogSetBottomText.md)
- [ProgressDialog.Update](ProgressDialogUpdate.md)
- [XML.Import](XMLImport.md)

### Example Databases

- [CURL/Amazon S3/Amazon S3 Upload File](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/Amazon%20S3/Amazon%20S3%20Upload%20File.shtml#3ScriptAnchor_)
- [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_)
- [DynaPDF/Print PDF](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Print%20PDF.shtml#3ScriptAnchor_)
- [Mac and iOS/Addressbook/Addressbook](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Addressbook/Addressbook.shtml#4ScriptAnchor_)
- [Mac and iOS/AVExport](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/AVExport.shtml#1ScriptAnchor_)
- [Mac only/ImageCapture/ImageCapture](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/ImageCapture/ImageCapture.shtml#6ScriptAnchor_)
- [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#5ScriptAnchor_)
- [Window/Progress Dialog](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Window/Progress%20Dialog.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)
- [ImageCapture functions for Mac OS X](https://www.mbsplugins.de/archive/2016-09-12/ImageCapture_functions_for_Mac/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 6/2022, Seite 16](https://filemaker-magazin.de/neuigkeit/4206-Appetithappen-FMM_202206)
- [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.SetBottomText](ProgressDialogSetBottomText.md) - [ProgressDialog.SetCancel](ProgressDialogSetCancel.md)

[HTML Version](ProgressDialogSetButtonCaption.shtml)