ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

  • Properties specific to the description of sysNotificationInput variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
The sysNotificationInput type is used by sysNotification variables.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// 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 the description of sysNotificationInput variables

The following properties can be used to handle a user input control:
Property nameType usedEffect
CaptionCharacter stringControl caption.
This property is only required if the Type property is set to sysNotifInputText.
ComboItemsArray of character stringsCombo 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.
DefaultIndexIntegerNumber 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 stringName retrieved by the application to determine the content of the control.
TypeInteger constantType of the control that allows for user interaction:
  • sysNotifInputCombo : Combo Box control.
  • sysNotifInputText : text edit control.
Related Examples:
WD Windows Notification Management 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.
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment