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.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    Statistic  

WindowsUserNotification.NewNotification

Creates a new notification.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WindowsUserNotification UserNotification 7.2 No Yes No No No
MBS( "WindowsUserNotification.NewNotification" )   More

Parameters

none

Result

Returns OK or error.

Description

Creates a new notification.
Returns an identifier which must be passed to other functions and later to WindowsUserNotification.Release.

Examples

Create new notification:

Set Variable [$r; Value:MBS( "WindowsUserNotification.NewNotification")]
If [MBS("IsError")]
    Show Custom Dialog ["Error"; $r]
Else
    Set Field [Windows User Notifications::ID; $r]
    Set Variable [$r; Value:MBS( "WindowsUserNotification.SetImagePath"; Windows User Notifications::ID; Windows User Notifications::ImagePath)]
    Set Variable [$r; Value:MBS( "WindowsUserNotification.SetText"; Windows User Notifications::ID; 0; Windows User Notifications::Text1)]
    Set Variable [$r; Value:MBS( "WindowsUserNotification.SetText"; Windows User Notifications::ID; 1; Windows User Notifications::Text2)]
    Set Variable [$r; Value:MBS( "WindowsUserNotification.SetText"; Windows User Notifications::ID; 2; Windows User Notifications::Text3)]
    Set Variable [$r; Value:MBS( "WindowsUserNotification.SetText"; Windows User Notifications::ID; 3; Windows User Notifications::Text4)]
    Set Variable [$r; Value:MBS( "WindowsUserNotification.SetScriptName"; Windows User Notifications::ID; "Trigger")]
    Set Variable [$r; Value:MBS( "WindowsUserNotification.SetFileName"; Windows User Notifications::ID; Get(FileName))]
End If

See also

Example Databases

Created 2nd April 2017, last changed 24th May 2017


WindowsUserNotification.Isinitialized   -   WindowsUserNotification.Release

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins