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

ListDialog.SetFilter

Sets the current filter text.

Component Version macOS Windows Linux Server iOS SDK
ListDialog 11.0 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "ListDialog.SetFilter"; Value { ; Placeholder } )   More

Parameters

Parameter Description Example Flags
Value The new filter text. ""
Placeholder The placeholder text to show if there is no filter.
Set to "" if you don't want the text.
"Filter" Optional

Result

Returns OK or error.

Description

Sets the current filter text.
The filter will be applied next time ListDialog.ShowDialog is used.
You may want to use ListDialog.SetShowsFilter to show the filter field.

Filtering may not work with grouping well.

Examples

Set filter:

Set Variable [ $r ; Value: MBS( "ListDialog.SetFilter"; "New") ]

See also

Release notes

Blog Entries

This function is free to use.

Created 21st November 2020, last changed 27th January 2021


ListDialog.SetColumnWidth - ListDialog.SetHeight