Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

Dialog.SetIcon

Sets the icon to be displayed in the alert to a given icon.

Component Version macOS Windows Linux Server iOS SDK
Dialog 4.1 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Dialog.SetIcon"; Image )   More

Parameters

Parameter Description Example
Image The container with image to use as dialog icon.
Should be a PNG with transparency.

Result

Returns OK or error.

Description

Sets the icon to be displayed in the alert to a given icon.
By default, the image is the application icon, accessed through the application bundle's NSApplicationIcon property.
So for FileMaker Pro, the icon is the FileMaker icon.

See also

Example Databases

Created 18th August 2014, last changed 26th March 2016


Dialog.SetFieldText - Dialog.SetInformativeText

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins

Start Chat