|
|
|
|
- Properties specific to the description of gglPostalAddress variables
gglPostalAddress (Type of variable) In french: gglAdressePostale
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: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. // 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 FOR EACH AnAddress OF AContact.Address Trace(AnAddress.Caption + ": " + AnAddress.Value) 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 |
---|
Address | Character string | Postal address of the contact. | Caption | Character string | Caption for describing the address. | Primary | Boolean | - True if the address corresponds to the main address of the contact,
- False otherwise.
| Type | Integer constant | Type of the address corresponding to one of the following variables:- gglOther: Other type of address.
- gglWork: Business address.
- gglHome: Home address.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|