PhotoPicker.SetMode
-------------------

Sets the mode of the picker.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [PhotoPicker](component_PhotoPicker.md) | [13.4](newinversion134.md) | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |

MBS( "PhotoPicker.SetMode"; Value ) 

**MBS**( **"PhotoPicker.SetMode";** /\* Sets the mode of the picker. \*/  
**$Value**) /\* The new setting.  
Pass 0 for default size and 1 for compact style with single row.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The new setting.   Pass 0 for default size and 1 for compact style with single row. | 1 |

### Result

Returns OK or error.

### Description

Sets the mode of the picker.  
Only for macOS 14 or iOS 17 or newer. Setting is ignored on older versions.  
### See also

- [PhotoPicker.GetMode](PhotoPickerGetMode.md)
- [PhotoPicker.SetSize](PhotoPickerSetSize.md)

### Blog Entries

- [News in MBS FileMaker Plugin 13.4](https://www.mbsplugins.de/archive/2023-09-20/News_in_MBS_FileMaker_Plugin_1/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 2/2025, Seite 19 bis 20](https://filemaker-magazin.de/neuigkeit/4286-Appetithappen-FMM_202502)

This function is free to use.

Created 5th September 2023 , last changed 5th September 2023

  
[PhotoPicker.SetDisabledCapabilities](PhotoPickerSetDisabledCapabilities.md) - [PhotoPicker.SetScript](PhotoPickerSetScript.md)

[HTML Version](PhotoPickerSetMode.shtml)