PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Properties specific to the description of Event variables
  • Reinitialization
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
The Event type is used to define all the advanced characteristics of an event: birthday, saint's day, ...
The characteristics of this event can be defined and modified using different WLanguage properties.
This type of variable is used by the Contact variables.
Remark: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
Versions 18 and later
iPhone/iPad This type of variable is now available for iPhone/iPad applications.
New in version 18
iPhone/iPad This type of variable is now available for iPhone/iPad applications.
iPhone/iPad This type of variable is now available for iPhone/iPad applications.
Versions 22 and later
Universal Windows 10 App This type of variable is now available in Universal Windows 10 App mode.
New in version 22
Universal Windows 10 App This type of variable is now available in Universal Windows 10 App mode.
Universal Windows 10 App This type of variable is now available in Universal Windows 10 App mode.
Example
// Récupère la date d'anniversaire d'un contact
sDate is string
FOR EACH evt OF MonContact.Evénement
IF evt.Type = evtBirthday THEN
sDate = evt.DateBrute
RETURN
END
END
Remarks

Properties specific to the description of Event variables

The following properties can be used to handle an event:
Property nameType usedEffect
RoughDateCharacter stringStart date of the event. The character string is not formatted.
LabelCharacter stringLabel for the custom types of events (optional).
If the Property Type does not match the constant evtCustom, the value of this Property will be ignored.
TypeInteger constant
Universal Windows 10 AppAndroid Type of event:
  • evtBirthday: Birthday/Date of birth.
  • evtOther: other types.
  • evtAnniversary: Anniversary.
  • evtCustom: custom type corresponding to the value of the Label property
iPhone/iPadIOS WidgetMac Catalyst Type of event:
  • evtAnniversary: Anniversary.
  • evtCustom: custom type corresponding to the value of the Label property

Reinitialization

To reset the content of a variable of type Event, it is possible to use the function VariableReset.
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment