Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

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

Example Databases

Blog Entries

Created 18th August 2014, last changed 18th August 2014


ListDialog.SetSelectedTag - ListDialog.SetShowsFilter

Feedback: Report problem or ask question.