ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Google functions / Google Calendar
  • Properties specific to gglOverride variables
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The gglOverride type is used to define information about event notification overrides. You can define and change the characteristics of this override using different WLanguage properties.
This type of variable is handled via gglNotification variables.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Connexion à Google
Cnx is gglConnection
Cnx.Email = "balthazar@gmail.com"
Cnx.Password = "azerty"
Cnx.ApplicationName = "MonAppli-01"
IF GglConnect(Cnx) = False THEN
	Error(ErrorInfo())
END
...
// Récupération du tableau des agendas disponibles
tabAgendas is array of gglCalendar
tabAgendas = GglListCalendar(Cnx)
// Récupération de tous les événements du premier agenda
GglFillCalendar(Cnx, tabAgendas[1])
// Parcours des événements
Evt is gglEvent
FOR EACH Evt OF tabAgendas[1]
	Trace(Evt.Title)
	Trace(Evt.Color)
	Trace(Evt.Notification.Default)
	Trace(Evt.Notification.Override.Count)
	Trace(Evt.Visibility)
	Trace(Evt.Disponibilté)
	Trace(Evt.Attachment.Count)
	FOR EACH UneNotif OF Evt.Notification.Override
		Trace(UneNotif.Méthode)
		Trace(UneNotif.NbMinute)
	END
	FOR EACH UnFichier OF Evt.Attachment
		Trace(UnFichier.IDFichier)
		Trace(UnFichier.Titre)
		Trace(UnFichier.URLFichier)
		Trace(UnFichier.URLIcone)
		Trace(UnFichier.TypeMIME)
	END
END
Properties

Properties specific to gglOverride variables

The following properties can be used to handle overrides:
Property nameType usedEffect
MethodString constantMethod used for notifications:
  • gglNotificationEmail Notification by email.
  • gglNotificationPopup Notification in a popup window.
NbMinuteIntegerNumber of minutes before the event that defines when the notification should be displayed / sent.
This number must be between 0 and 40320 (40320 minutes = 4 weeks).
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help