|
|
|
|
|
- Properties specific to sysNotificationInput variables
sysNotificationInput (Type of variable) In french: sysNotificationEntrée
The sysNotificationInput type is used to define all the advanced features of an input control, such as a text input or combo box control, in an interactive notification. The characteristics of this control can be defined and changed using different WLanguage properties. Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. // Create a notification that allows the user to enter their last name, a first name and a service MyNotif is sysNotification MyNotif.Title = "Register"  MyNotif.Inputs[1].Type = sysNotifInputText MyNotif.Inputs[1].Name = "User_LastName" MyNotif.Inputs[1].Caption = "Last name"  MyNotif.Inputs[2].Type = sysNotifInputText MyNotif.Inputs[2].Name = "User_FirstName" MyNotif.Inputs[2].Caption = "First name"  MyNotif.Inputs[3].Type = sysNotifInputCombo MyNotif.Inputs[3].Name = "User_Service"  MyNotif.Inputs[3].ComboItems = ["1" + TAB + "Development", ... "2" + TAB + "Direction", "3" + TAB + "Translation"]  MyNotif.Buttons[1].Caption = "Register" MyNotif.Buttons[1].Note = "btn_register"  MyNotif.Buttons[2].Caption = "Decline" MyNotif.Buttons[2].Type = sysNotifCloseButton  SysNotificationSend(MyNotif) Remarks Properties specific to sysNotificationInput variables The following properties can be used to handle a user input control: | | | Property name | Type used | Effect |
---|
Caption | Character string | Control caption. This property is only required if the Type property is set to sysNotifInputText. | ComboItems | Array of character strings | Combo Box control items. Each string in the array must have the following format:
Identifier + TAB + Caption where: - Identifier: value retrieved by the application.
- Caption: text of the item in the combo box.
This property is only required if the Type property is set to sysNotifInputCombo. | DefaultIndex | Integer | Number of the row displayed by default in the Combo Box control. This property is only required if the Type property is set to sysNotifInputCombo. | Name | Character string | Name retrieved by the application to determine the content of the control. | Type | Integer constant | Type of the control that allows for user interaction:- sysNotifInputCombo: Combo Box control.
- sysNotifInputText: text edit control.
|
Related Examples:
|
Training (WINDEV): WD Windows Notification Management
[ + ] Starting with Windows 10, "toast" notifications (on the right side of the Desktop) are interactive, and enable you to include buttons, input areas and combo boxes. This example shows how to use this type of notifications.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|