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.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1    Statistic    FMM    Blog  

ListDialog.SetFilter

Sets the current filter text.

Component Version macOS Windows Linux Server FileMaker 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

Blog Entries

Release notes

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


ListDialog.SetColumnHeader   -   ListDialog.SetHeight

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat