PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
gglPerson (Type of variable)
In French: gglPersonne (Type de variable)
The gglPerson type is used to describe and modify the persons attending an event of a Google calendar.
This type of variable is used by the gglEvent variables.
Note: See Declaring a variable for more details.
Example
// Connection to Google
Cnt is gglConnection
Cnt..Email = "vince@gmail.com"
Cnt..Password = "azerty"
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
Remarks

Properties specific to the description of gglPerson variables

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