Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
ListDialog.SetOtherButtonLabel
Sets the caption of the other button.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ListDialog | 9.5 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "ListDialog.SetOtherButtonLabel"; text ) More
Parameters
Parameter | Description | Example |
---|---|---|
text | The new text. | "Help" |
Result
Returns OK or error.
Description
Sets the caption of the other button.Other button is only visible if the label is set.
If expression to evaluate is set, the evaluate happens when button is clicked. If no expression is set, the result for running the dialog and clicking this button is "Other".
Examples
Add a button and let it run showurl to open website:
Set Variable [ $r ; Value: MBS("ListDialog.SetOtherButtonLabel"; "Help") ]
Set Variable [ $r ; Value: MBS("ListDialog.SetOtherButtonEvaluate"; "MBS( \"ShowURL\"; \"https://mbsplugins.eu\" )") ]
See also
- Dialog.SetOtherButton
- ListDialog.GetCancelButtonLabel
- ListDialog.GetOtherButtonEvaluate
- ListDialog.GetOtherButtonLabel
- ListDialog.GetSelectButtonLabel
- ListDialog.SetCancelButtonLabel
- ListDialog.SetOtherButtonEvaluate
- ListDialog.SetSelectButtonLabel
Release notes
- Version 9.5
- Added other button for ListDialog with ListDialog.GetOtherButtonEvaluate, ListDialog.GetOtherButtonLabel, ListDialog.SetOtherButtonEvaluate and ListDialog.SetOtherButtonLabel functions.
Blog Entries
This function is free to use.
Created 11st October 2019, last changed 15th June 2023
