Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

ListDialog.SetOtherButtonValue

Sets the value returned by ShowDialog function if the other button was clicked.

Component Version macOS Windows Linux Server iOS SDK
ListDialog 15.2 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "ListDialog.SetOtherButtonValue"; Value { ; ButtonIndex } )   More

Parameters

Parameter Description Example Flags
Value The new value to use. "OtherButton"
ButtonIndex The index for the other button from 0 to 2. 0 Optional

Result

Returns OK or error.

Description

Sets the value returned by ShowDialog function if the other button was clicked.
The default is "Other".

See also

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


ListDialog.SetOtherButtonNeedsSelection - ListDialog.SetPosition