ListDialog.SetShowsFilter
-------------------------

Whether to show a filter field.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ListDialog](component_ListDialog.md) | [11.0](newinversion110.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |

MBS( "ListDialog.SetShowsFilter"; Value ) 

**MBS**( **"ListDialog.SetShowsFilter";** /\* Whether to show a filter field. \*/  
**$Value**) /\* Pass 1 to show filter or 0 to hide.e.g. 1 \*/ 

### 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](ListDialogSetFilter.md)"; "") \]  
### See also

- [ListDialog.GetShowsFilter](ListDialogGetShowsFilter.md)
- [ListDialog.SetFilter](ListDialogSetFilter.md)

### Release notes

- **Version 11.0**
    - Added filter for ListDialog and related functions: [ListDialog.GetFilter](https://www.mbsplugins.eu/ListDialogGetFilter.shtml), [ListDialog.GetShowsFilter](https://www.mbsplugins.eu/ListDialogGetShowsFilter.shtml), [ListDialog.SetFilter](https://www.mbsplugins.eu/ListDialogSetFilter.shtml) and [ListDialog.SetShowsFilter](https://www.mbsplugins.eu/ListDialogSetShowsFilter.shtml).

### Example Databases

- [List/ListDialog](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/List/ListDialog.shtml#1ScriptAnchor_)
- [Mac and iOS/PDFKit/PDFKit Print Documents](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/PDFKit/PDFKit%20Print%20Documents.shtml#3ScriptAnchor_)

### Blog Entries

- [ListDialog for iOS](https://www.mbsplugins.de/archive/2025-08-18/ListDialog_for_iOS/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin Advent calendar: 22 - ListDialog](https://www.mbsplugins.de/archive/2023-12-22/MBS_Plugin_Advent_calendar_22_/monkeybreadsoftware_blog_filemaker)
- [New in MBS FileMaker Plugin 11.0](https://www.mbsplugins.de/archive/2021-01-26/New_in_MBS_FileMaker_Plugin_11/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 10.6pr1](https://www.mbsplugins.de/archive/2020-12-02/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [Filter for ListDialog](https://www.mbsplugins.de/archive/2020-11-22/Filter_for_ListDialog/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 21st November 2020 , last changed 22nd November 2020

  
[ListDialog.SetShowCloseBox](ListDialogSetShowCloseBox.md) - [ListDialog.SetSwapButtons](ListDialogSetSwapButtons.md)

[HTML Version](ListDialogSetShowsFilter.shtml)