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 { ; ButtonIndex } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
Text | The new text. | "Help" | |
ButtonIndex | Available in MBS FileMaker Plugin 15.2 or newer. The index for the other button from 0 to 2. |
0 | Optional |
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". For second button it would be "Other2" and for third "Other3".
If you have three other buttons, you may need to resize the window to be bigger.
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.GetOtherButtonValue
- ListDialog.GetSelectButtonLabel
- ListDialog.SetCancelButtonLabel
- ListDialog.SetOtherButtonEvaluate
- ListDialog.SetOtherButtonNeedsSelection
- ListDialog.SetOtherButtonValue
Release notes
- Version 15.2
- Improved ListDialog.SetOtherButtonEvaluate and ListDialog.SetOtherButtonLabel to allow three other buttons.
- Version 9.5
- Added other button for ListDialog with ListDialog.GetOtherButtonEvaluate, ListDialog.GetOtherButtonLabel, ListDialog.SetOtherButtonEvaluate and ListDialog.SetOtherButtonLabel functions.
Blog Entries
- MBS FileMaker Plugin, version 15.2pr2
- MBS Plugin Advent calendar: 22 - ListDialog
- New functions of the MBS Plugin Version 9.5
- MBS FileMaker Plugin, version 9.5pr3
This function is free to use.
Created 11st October 2019, last changed 5th April 2025
ListDialog.SetOtherButtonEvaluate - ListDialog.SetOtherButtonNeedsSelection
