ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Google functions / Google Calendar
  • Properties specific to the description of gglPerson 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
gglPerson (Type of variable)
In french: gglPersonne
The gglPerson type is used to describe and modify the participants attending an event of a Google calendar.
This type of variable is used by the gglEvent variables.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Connection to Google
Cnt is gglConnection
Cnt.Email = "balthazar@gmail.com"
Cnt.Password = "qwerty"
Cnt.ApplicationName = "MyApp-01"
IF GglConnect(Cnt) = False THEN
Error(ErrorInfo())
END
...
// Retrieve the array of available calendars
arrCalendars is array of gglCalendar
arrCalendars = GglListCalendar(Cnt)
// Retrieve the events of the first calendar
GglFillCalendar(Cnt, arrCalendars[1])
// Display the participants to the first event
MyCalendar is gglCalendar = arrCalendars[1]
Participant is gglPerson
Evt is gglEvent
 
FOR EACH Evt OF MyCalendar.Event
Trace(Evt.Title)
FOR EACH Participant OF Evt.Guest
Trace(Participant.Caption + " (" + Participant.Email + ")")
END
END
Remarks

Properties specific to the description of gglPerson variables

The following properties can be used to handle a gglPerson variable:
Property nameType usedEffect
EmailCharacter stringEmail of the person.
CaptionCharacter stringString representing the person (LastName-FirstName for example).
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help