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
- FileDialog.GetFilter
- FileDialog.SetFilter
- ListDialog.GetFilter
- ListDialog.GetWidth
- ListDialog.SetShowsFilter
- ListDialog.SetWidth
- ListDialog.ShowDialog
Release notes
- Version 11.0
- Added filter for ListDialog and related functions: ListDialog.GetFilter, ListDialog.GetShowsFilter, ListDialog.SetFilter and ListDialog.SetShowsFilter.
Blog Entries
- MBS Plugin Advent calendar: 22 - ListDialog
- New in MBS FileMaker Plugin 11.0
- MBS FileMaker Plugin, version 10.6pr1
- Filter for ListDialog
This function is free to use.
Created 21st November 2020, last changed 27th January 2021