Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
ListDialog.SetSelectButtonValue
Sets the value returned by ShowDialog function if the select button was clicked.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ListDialog | 15.2 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "ListDialog.SetSelectButtonValue"; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
Value | The new value to use. | "Select" |
Result
Returns OK or error.
Description
Sets the value returned by ShowDialog function if the select button was clicked.The default is "OK".
Examples
Set button values:
Set Variable [ $r ; Value: MBS("ListDialog.SetOtherButtonValue"; "Other"; 0) ]
Set Variable [ $r ; Value: MBS("ListDialog.SetSelectButtonValue"; "Selected") ]
Set Variable [ $r ; Value: MBS("ListDialog.SetCancelButtonValue"; "Cancelled") ]
See also
- Dialog.SetOtherButton
- ListDialog.GetCancelButtonValue
- ListDialog.GetOtherButtonValue
- ListDialog.GetSelectButtonLabel
- ListDialog.GetSelectButtonValue
- ListDialog.SetCancelButtonLabel
- ListDialog.SetCancelButtonValue
- ListDialog.SetOtherButtonEvaluate
- ListDialog.SetOtherButtonValue
- ListDialog.SetSelectButtonLabel
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
