| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
Dialog.GetTitleIcon
Returns the icon displayed in the titlebar.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| Dialog | 16.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "Dialog.GetTitleIcon" { ; ImageType; FileName } ) More
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
Release notes
- Version 16.1
- Added Dialog.GetTitleIcon and Dialog.SetTitleIcon functions.
Blog Entries
This function is free to use.
Created 7th March 2026, last changed 7th March 2026