Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
ListDialog.SetSelectedTitle
Sets which item is selected.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ListDialog | 4.2 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "ListDialog.SetSelectedTitle"; text ) More
Parameters
Parameter | Description | Example |
---|---|---|
text | The text to select. | "Hello World" |
Result
Returns OK.
Description
Sets which item is selected.You can preselect one or more items using this function.
This can be a list if used with multiple selection.
Examples
Define to pick an item from the list by default via title:
MBS( "ListDialog.SetSelectedTitle"; "Hello World" )
See also
- List.HasValue
- ListDialog.GetCheckedTitles
- ListDialog.GetSelectedTag
- ListDialog.GetSelectedTitle
- ListDialog.SetSelectedTag
- ListDialog.ShowDialog
Example Databases
Blog Entries
This function is free to use.
Created 18th August 2014, last changed 18th August 2014