ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Contact functions (Lotus Notes or Android/iPhone/iPad)
  • 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 changed using different WLanguage properties.
This type of variable is used by the Contact variables.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
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
LabelCharacter stringLabel for the custom types of events (optional).
If the Type property does not correspond to the evtCustom constant, the value of this property will be ignored.
RoughDateCharacter stringStart date of the event. The character string is not formatted.
TypeInteger constant
Universal Windows 10 App Type of event:
  • evtBirthday: Birthday/Date of birth.
  • evtOther: other types.
  • evtAnniversary: Anniversary.
  • evtCustom: custom type corresponding to the value of the Label property.

Reinitialization

You can use VariableReset to reset the contents of a variable of type Event.
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help