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 gglPostalAddress 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
gglPostalAddress (Type of variable)
In french: gglPostalAddress
The gglPostalAddress type is used to describe and modify the postal address of a contact.
This type of variable is used by the gglContact type.
Remark: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
Example
// Connection
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 contacts
arrContacts is array of gglContact
arrContacts = GglListContact(Cnt)
// Display the addresses of the first contact
AContact is gglContact = arrContacts[1]
AnAddress is dynamic gglPostalAddress
POUR TOUT UneAddress DE UnContact.Address
Trace( OneAddress.label + ": "+ OneValue.Address)
END
Remarks

Properties specific to the description of gglPostalAddress variables

The following properties can be used to handle a gglPostalAddress variable:
Name Type used Effect
AddressCharacter stringPostal address of the contact.
CaptionCharacter stringCaption for describing the address.
PrimaryBoolean
  • True if the address corresponds to the main address of the contact,
  • False otherwise.
TypeInteger constantType of the address corresponding to one of the following variables:
  • gglOther: Other type of address.
  • gglWork: Business address.
  • gglHome: Home address.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment