Dialog.GetTitleIcon
-------------------

Returns the icon displayed in the titlebar.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Dialog](component_Dialog.md) | [16.1](newinversion161.md) | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "Dialog.GetTitleIcon" { ; ImageType; FileName } ) 

**MBS**( **"Dialog.GetTitleIcon";** /\* Returns the icon displayed in the titlebar. \*/  
**$ImageType**; /\* Optional; The type of image to return.   
Either JPEG, PNG, GIF or BMP. Default is JPEG.  
Ignored on Windows: Always returns PNG.e.g. "JPEG" \*/   
**$FileName**) /\* Optional; The filename to use for the picture.   
Default is "image" with the extension matching the image type.e.g. "test.jpg" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| ImageType | The type of image to return.    Either JPEG, PNG, GIF or BMP. Default is JPEG.   Ignored on Windows: Always returns PNG. | "JPEG" | Optional |
| FileName | The filename to use for the picture.    Default is "image" with the extension matching the image type. | "test.jpg" | Optional |

### Result

Returns image or error.

### Description

Returns the icon displayed in the titlebar.  
### See also

- [Dialog.SetTitleIcon](DialogSetTitleIcon.md)
- [Window.SetTitleIcon](WindowSetTitleIcon.md)

### Release notes

- **Version 16.1**
    - Added [Dialog.GetTitleIcon](https://www.mbsplugins.eu/DialogGetTitleIcon.shtml) and [Dialog.SetTitleIcon](https://www.mbsplugins.eu/DialogSetTitleIcon.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin 16.1 News](https://www.mbsplugins.de/archive/2026-03-31/MBS_FileMaker_Plugin_161_News/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 16.1pr7](https://www.mbsplugins.de/archive/2026-03-10/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 7th March 2026 , last changed 7th March 2026

  
[Dialog.GetTimeout](DialogGetTimeout.md) - [Dialog.GetTop](DialogGetTop.md)

[HTML Version](DialogGetTitleIcon.shtml)