PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglLocation 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
gglLocation (Type of variable)
In French: gglLieu (Type de variable)
The gglLocation type is used to describe and modify the location of an event found in a Google calendar.
This type of variable is used by the gglEvent variables.
Notes: See Declaring a variable for more details.
Caution: the access to the Google Calendars changes from November 17, 2014
From November 17 2014, Google is only using the Google API version 3 (Google API version 2 is abandoned). This change of version has modified the exchange format of data used by the functions for accessing the Google Calendars.
An "OAuth 2.0" authentication is now required to access this service. This authentication mode requires:
  • the declaration of the application in the Google console. To use the Google Calendars, the application must use the "Calendar API" service.
  • the use of new properties in the gglConnection variable.
See the help about GglConnect for more details.
Caution: The gglCalendar, gglEvent and gglLocation variables are also modified. Some properties become obsolete with the Google API version 3: they must not be specified anymore.
Example
// Connection to Google
Cnt is gglConnection
...
// Retrieve the array of available calendars
arrCalendars is array of gglCalendar
arrCalendars = GglGetCalendar(Cnt)
// Retrieve the events of the first calendar
GglFillCalendar(Cnt, arrCalendars[1])
// Display the locations of the first event
MyCalendar is gglCalendar = arrCalendars[1]
Location is gglLocation
FOR EACH Location OF MyCalendar
Trace(Location..Value)
END
Remarks

Properties specific to the description of gglLocation variables

The following properties can be used to handle a gglLocation variable:
NameType usedEffect
CaptionCharacter stringIdentifier of the location. This identifier allows you to easily retrieve the location.
Caution: Further to the implementation of Google API version 3, this property is not supported anymore.
ValueCharacter stringName and description of the location.
Note: These properties can be used with 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