Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
ListDialog.SetCancelButtonValue
Sets the value returned by ShowDialog function if the cancel button was clicked.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ListDialog | 15.2 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "ListDialog.SetCancelButtonValue"; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
Value | The new value to use. | "Cancelled" |
Result
Returns OK or error.
Description
Sets the value returned by ShowDialog function if the cancel button was clicked.The default is "Cancel".
See also
- ListDialog.GetCancelButtonLabel
- ListDialog.GetCancelButtonValue
- ListDialog.GetOtherButtonValue
- ListDialog.GetSelectButtonValue
- ListDialog.SetCancelButtonLabel
- ListDialog.SetOtherButtonEvaluate
- ListDialog.SetOtherButtonValue
- ListDialog.SetSelectButtonLabel
- ListDialog.SetSelectButtonValue
Release notes
- Version 15.2
- Added ListDialog.SetCancelButtonValue, ListDialog.SetOtherButtonValue and ListDialog.SetSelectButtonValue to set what value is returned by ListDialog.ShowDialog function.
Blog Entries
This function is free to use.
Created 6th April 2025, last changed 6th April 2025
