PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Properties specific to the description of gglEmail 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
gglEmail (Type of variable)
In french: gglEmail
The gglEmail type is used to describe and modify the email address of a contact.
This type of variable is used by the gglContact type.
Remark: 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 contacts
tabContacts is array of gglContact
tabContacts = GglListContact(Cnx)
 
// Affichage des emails du premier contact
UnContact is gglContact = tabContacts[1]
UnEmail is gglEmail dynamic
FOR EACH UnEmail OF UnContact.Email
Trace(UnEmail.Caption + ": " + UnEmail.Address)
END
Remarks

Properties specific to the description of gglEmail variables

The following properties can be used to handle a gglEmail variable:
Property nameType usedEffect
AddressUnicode stringEmail address of contact.
CaptionUnicode stringCaption for describing the address.

Equivalent of a custom type. Only one of the two properties Label or Typemust be filled in.
PrimaryBoolean
  • True if the email corresponds to the main email address of the contact,
  • False otherwise.
TypeInteger constantType of the email address corresponding to one of the following variables:
  • gglOther: Other type of address.
  • gglWork: Business address.
  • gglHome: Home address.
Only one of the two properties Label or Typemust be filled in.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment