ListDialog.SetCancelButtonLabel
-------------------------------

Sets the caption of the cancel button.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ListDialog](component_ListDialog.md) | [4.2](newinversion42.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |

MBS( "ListDialog.SetCancelButtonLabel"; Text ) 

**MBS**( **"ListDialog.SetCancelButtonLabel";** /\* Sets the caption of the cancel button. \*/  
**$Text**) /\* The new text.e.g. "Cancel" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Text | The new text. | "Cancel" |

### Result

Returns OK.

### Description

Sets the caption of the cancel button.  
Can be set to empty text to hide button.  
### Examples

Sets label:

 MBS ( "ListDialog.SetCancelButtonLabel"; "Abbrechen" )  
### See also

- [ListDialog.GetCancelButtonLabel](ListDialogGetCancelButtonLabel.md)
- [ListDialog.GetCancelButtonValue](ListDialogGetCancelButtonValue.md)
- [ListDialog.GetOtherButtonLabel](ListDialogGetOtherButtonLabel.md)
- [ListDialog.GetSelectButtonLabel](ListDialogGetSelectButtonLabel.md)
- [ListDialog.SetCancelButtonValue](ListDialogSetCancelButtonValue.md)
- [ListDialog.SetOtherButtonLabel](ListDialogSetOtherButtonLabel.md)
- [ListDialog.SetSelectButtonLabel](ListDialogSetSelectButtonLabel.md)
- [ListDialog.SetSelectButtonValue](ListDialogSetSelectButtonValue.md)

### Blog Entries

- [MBS Plugin Advent calendar: 22 - ListDialog](https://www.mbsplugins.de/archive/2023-12-22/MBS_Plugin_Advent_calendar_22_/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th August 2014 , last changed 15th June 2023

  
[ListDialog.SetAllowMultipleSelection](ListDialogSetAllowMultipleSelection.md) - [ListDialog.SetCancelButtonValue](ListDialogSetCancelButtonValue.md)

[HTML Version](ListDialogSetCancelButtonLabel.shtml)