| | |
Property name | Type used | Effect |
---|
Action | Global procedure only | Name of the global procedure to be executed when the user clicks the notification itself (not a control inside the notification). If the procedure is not specified or cannot be found, the "Receive a notification" optional project event is executed. |
Attribution | Character string | Text to be displayed in the small text area below the notification (for example, this box can be used to indicate the source of the information). This property can be empty. |
Buttons | Array of sysNotificationButton | Button controls of the notification. Buttons always appear at the bottom of the notification, from left to right following their order in the array (except for context buttons, which are added to the context menu of the notification, from top to bottom). Caution: There can be no more than 5 buttons in a notification. |
ContentImagePath | Character string | Absolute path of an image on disk that can be added to the content of the notification. This property can be empty. |
Date | DateTime | Date to be displayed in the notification. This property can be empty. |
HeaderImagePath | Character string | Absolute path of an image on disk that can be used as a header for the notification. The size of the displayed image is 364 x 180 pixels (the image is automatically reduced if necessary). |
ID | Character string | Unique identifier associated with the notification. Two notifications from the same application cannot have the same identifier. If two notifications have the same identifier, the new notification will replace the previous one. This property can be empty. |
Inputs | Array of sysNotificationInput | "User input" controls of the notification. These can be either "text input" or "combo box" controls. The controls appear from top to bottom in the order they were added to the array. Caution : There can be no more than 4 input controls in a notification. Additional controls will replace the previous ones. |
LogoImageCrop | Integer constant | Cropping to be applied to the logo: - sysNotifNoCrop (default value): No cropping, square image.
- sysNotifCircleCrop: Circle-cropped image.
|
LogoImagePath | Character string | Absolute path of an image on disk that can be used as a logo for the notification. The size of the displayed image is 48 x 48 pixels in the notification (the image is automatically reduced if necessary). You can crop the logo using the LogoImageCrop property. This property can be empty. |
Note | Character string | String that will be returned to the application when the user clicks the notification (not a button). Can be used to identify the notification clicked, for example. This property can be empty. |
Scenario | Integer constant | Specific behavior of the notification : - sysNotifAlarm: The notification stays on screen until the user interacts with it. A "reminder" sound alert defined by the system is played in a loop.
- sysNotifCall: The notification stays on screen until the user interacts with it. An incoming call sound defined by the system is played in a loop, and a different style is used for the buttons.
- sysNotifStandard (default value): The notification appears on screen for a few seconds before going into the Windows Action Center.
- sysNotifReminder: The notification stays on screen until the user interacts with it. A "reminder" sound alert defined by the system is played when the notification appears.
|
Text1 | Character string | Optional text displayed below the title. The combined text of the Text1 and Text2 properties cannot occupy more than 4 lines. |
Text2 | Character string | Optional text displayed below text 1. If the Text1 property is empty, the Text2 property will be displayed instead. The combined text of the Text1 and Text2 properties cannot occupy more than 4 lines. |
Title | Character string | Notification title displayed on 2 lines maximum. |
XML | Character string | XML code that corresponds to the current configuration of the notification. In write mode : This property allows you to specify an XML description of the notification. If this property is specified, all the other properties of the sysNotification type will be ignored. In read mode: This property is used to get the XML code generated by WINDEV corresponding to the notification. |