PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 by several WLanguage properties.
This type of variable is used by the Contact variables.
Note: See Declaring a variable for more details.
Versions 18 and later
iPhone/iPad This type of variable is now available for the iPhone/iPad applications.
New in version 18
iPhone/iPad This type of variable is now available for the iPhone/iPad applications.
iPhone/iPad This type of variable is now available for the 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
// Retrieves the birthday of a contact
sDate is string
FOR EACH evt OF MyContact..Event
IF evt..Type = evtBirthday THEN
sDate = evt..RoughDate
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 ..Type does not correspond to the evtCustom constant, the value of this property will be ignored.
TypeInteger constant
AndroidUniversal Windows 10 App Type of event:
  • evtBirthday: Birthday/Date of birth.
  • evtOther: other types.
  • evtAnniversary: Anniversary.
  • evtCustom: custom type corresponding to the value of ..Label.
iPhone/iPad Type of event:
  • evtAnniversary: Anniversary.
  • evtCustom: custom type corresponding to the value of ..Label.


Note: These properties can be used with one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

Reinitialization

To reinitialize the content of an Event variable, you have the ability to use VariableReset.
Minimum required version
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment