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  

WindowsUserNotification.SetImagePath

Sets image path for the image to show.

Component Version macOS Windows Linux Server iOS SDK
WindowsUserNotification UserNotification 7.2 ❌ No ✅ Yes ❌ No ❌ No ❌ No
MBS( "WindowsUserNotification.SetImagePath"; Notification; Path )   More

Parameters

Parameter Description Example
Notification The reference number for the Windows User Notification. $Notification
Path Native file path for the image. "C:\MyApp\test.png"

Result

Returns OK or error.

Description

Sets image path for the image to show.
May not be a network path as system needs to load it independent of your permissions.
Maybe better use image coming with application or put one in temp folder.

This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.

See also

Example Databases

Created 2nd April 2017, last changed 17th August 2017


WindowsUserNotification.SetFileName - WindowsUserNotification.SetScriptName

Feedback: Report problem or ask question.