Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
ListDialog.SetShowsFilter
Whether to show a filter field.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ListDialog | 11.0 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "ListDialog.SetShowsFilter"; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
Value | Pass 1 to show filter or 0 to hide. | 1 |
Result
Returns OK or error.
Description
Whether to show a filter field.The filter allows to search for text in the list and show only matching items.
You can provide multiple words separated by space and we search for each of them to find words containing the text in all columns of each row.
Examples
Enables filter and clears it:
Set Variable [ $r ; Value: MBS("ListDialog.SetShowsFilter"; 1) ]
Set Variable [ $r ; Value: MBS("ListDialog.SetFilter"; "") ]
See also
Release notes
- Version 11.0
- Added filter for ListDialog and related functions: ListDialog.GetFilter, ListDialog.GetShowsFilter, ListDialog.SetFilter and ListDialog.SetShowsFilter.
Example Databases
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 22nd November 2020
ListDialog.SetShowCloseBox - ListDialog.SetUsesAlternatingRowBackgroundColors