ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Contact functions (Lotus Notes or Android/iPhone/iPad)
  • Properties specific to Phone variables
  • Reinitialization
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The Phone type is used to handle a phone number as well as its type (home, work, ...).
The characteristics of this variable can be defined and modified using various WLanguage properties.
This type of variable is used by the Contact variables.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Compose le premier numéro de téléphone professionnel d'un contact
tel is Phone
FOR EACH tel OF contact.Phone
	IF tel.Type = phoneCellWork OR tel.Type = phoneWork THEN
		tapiDialerCall(tel.Number)
		RETURN
	END
END
Properties

Properties specific to Phone variables

The following properties can be used to handle a phone number:
Property nameType usedEffect
LabelCharacter stringLabel for the custom types of phone numbers (optional).
If the Type property does not correspond to the phoneCustom constant, the value of this property will be ignored.
NumberCharacter stringPhone number. No formatting is performed.
TypeInteger constant
Android Type of number:
  • telOther other types
  • telOffice office landline phone
  • telDomicile Home telephone number
  • telFaxOffice office fax
  • telFaxDomicile Home fax number
  • telMobileBureau: office cell phone
  • telMobileHome: home cell phone
  • telCustom custom type corresponding to the value of the property Label.
  • car phone: car phone
iPhone/iPadIOS WidgetMac Catalyst Type of number:
  • telDomicile Home telephone number
  • telFaxOffice office fax
  • telFaxDomicile Home fax number
  • telMobileHome: home cell phone
  • telCustom custom type corresponding to the value of the property Label.
Remarks

Reinitialization

You can use VariableReset to reset the content of a Phone variable.
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help