Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

App.SetDockIcon

Sets the image for the dock icon for this application.

Component Version macOS Windows Linux Server iOS SDK
App 3.2 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "App.SetDockIcon"; Image )   More

Parameters

Parameter Description Example
Image The image to use.
Pass a container value with JPEG, TIFF, PNG or other image formats.
$image

Result

Returns OK or error.

Description

Sets the image for the dock icon for this application.
Works with FileMaker Pro and runtimes.

See also App.SetProcessName to change the name.

Pass empty value to clear image.

Examples

Change dock icon:

Set Variable [ $r; Value:MBS("App.SetDockIcon"; Globals::DockImage) ]

See also

Release notes

  • Version 12.2

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 23th April 2022


App.SetDockBadgeLabel - App.SetProcessName