ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Contact functions (Lotus Notes or Android/iPhone/iPad)
  • Properties specific to Event variables
  • Reinitialization
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The Event type allows you to define all the advanced features of an event (birthday, anniversary, etc.)
You can define and change the characteristics of this event using different WLanguage properties.
This type of variable is used by the Contact variables.
Note: 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.RawDate
		RETURN
	END
END
Properties

Properties specific to 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.
RawDateCharacter stringStart date of the event. The character string is not formatted.
In previous versions, this property corresponds to 'RoughDate'.
TypeInteger constant
Android 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.
Remarks

Reinitialization

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

Last update: 03/28/2025

Send a report | Local help