Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  


Queries the dock icon.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
App 3.2 Yes No Yes, macOS only No No

MBS( "App.GetDockIcon" { ; ImageType; Filename } )


Parameter Description Example value
ImageType Optional
The type of image to return. Either JPEG, PNG, GIF or BMP. Default is JPEG.
Filename Optional
The filename to use for the picture. Default is "image" with the extension matching the image type.


Returns image or error.


Queries the dock icon.
Only queries a dock item image you set before with App.SetDockIcon
Returns nothing if no image was set.

See also

App.GetDockBadgeLabel   -   App.GetProcessName

Feedback: Report problem or ask question.

MBS Xojo blog