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 gglPhoneNumber 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
gglPhoneNumber (Type of variable)
In french: gglPhoneNumber
The gglPhoneNumber type is used to describe and modify the phone number 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
// 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 téléphones du premier contact
MonContact is gglContact = tabContacts[1]
MonTéléphoneContact is gglPhoneNumber dynamic
FOR EACH MonTéléphoneContact OF MonContact.PhoneNumber
Trace(MonTéléphoneContact.Caption + ": " + MonTéléphoneContact.Number)
END
Remarks

Properties specific to the description of gglPhoneNumber variables

The following properties can be used to handle a gglPhoneNumber variable:
NameType usedEffect
CaptionCharacter stringDescription of the phone number.
NumberCharacter stringPhone number.
PrimaryCharacter string
  • True if the number corresponds to the main phone number of the contact,
  • False otherwise.
TypeInteger constantType of the phone number corresponding to one of the following variables:
  • gglOther: Other number.
  • gglWork: Professional number.
  • gglHome: Personal number.
  • gglFax: Fax number.
  • gglHomeFax: Personal fax number.
  • gglWorkFax: Professional fax number.
  • gglPager: Pager number.
  • gglMobileDevice: Number of the mobile phone.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment