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

ProgressDialog.SetImage

Sets the image. Please use container value as parameter.

Component Version macOS Windows Linux Server iOS SDK
ProgressDialog 2.4 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "ProgressDialog.SetImage"; image )   More

Parameters

Parameter Description Example
image A container value with some picture. Can be JPEG, GIF, BMP, PNG or TIFF. preftable::ProgressIcon

Result

Returns "OK" on success.

Description

Sets the image. Please use container value as parameter.
For best results use a PNG with alpha channel, so you don't see a border. Size should be 64 x 64 Pixels (72 dpi). If the picture does not fit, the plugin tries to scale it.
Alpha Channel is not supported on Windows 2000, but works on Windows XP and newer.
Internally we use GraphicsMagick, so all the image formats supported by GraphicsMagick should work.
If there is no image, there is more room for your text in the dialog.

Please use RGB picture. Other colorspaces like CMYK may not work.

Examples

Set Image:

MBS( "ProgressDialog.SetImage"; Globals::ProgressLogo )

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 18th November 2020


ProgressDialog.SetFont - ProgressDialog.SetImageHeight