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 Phone variables
  • Reinitialization
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
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 by several WLanguage properties.
This type of variable is used by the Contact variables.
Remark: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
Versions 18 and later
iPhone/iPad This type of variable is now available for iPhone/iPad applications.
New in version 18
iPhone/iPad This type of variable is now available for iPhone/iPad applications.
iPhone/iPad This type of variable is now available for iPhone/iPad applications.
Versions 22 and later
Universal Windows 10 App This type of variable is now available in Universal Windows 10 App mode.
New in version 22
Universal Windows 10 App This type of variable is now available in Universal Windows 10 App mode.
Universal Windows 10 App This type of variable is now available in Universal Windows 10 App mode.
Example
// Compose le premier numéro de téléphone professionnel d'un contact
tel is Phone
FOR EACH tel OF contact.Téléphone
IF tel.Type = phoneCellWork  OR tel.Type = phoneWork THEN
tapiDialerCall(tel.Number)
RETURN
END
END
Remarks

Properties specific to the description of 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 Property Type does not match the constant phoneCustom, the value of this Property will be ignored.
NumberCharacter stringPhone number. No formatting is performed.
TypeInteger constant
Android Type of number:
  • phoneOther: other types
  • phoneWork: professional fixed phone
  • phoneHome: personal fixed phone
  • phoneFaxWork: professional fax
  • phoneFaxHome: personal fax
  • phoneCellWork: professional cell phone
  • phoneCellHome: personal cell phone
  • phoneCustom: custom type corresponding to the value of the Label property
  • phoneCar: phone of the car
Universal Windows 10 App Type of number:
  • phoneOther: other types
  • phoneWork: professional fixed phone
  • phoneHome: personal fixed phone
  • phoneFaxWork: professional fax
  • phoneFaxHome: personal fax
  • phoneCellWork: professional cell phone
  • phoneCellHome: personal cell phone
iPhone/iPadIOS WidgetMac Catalyst Type of number:
  • phoneHome: personal fixed phone
  • phoneFaxWork: professional fax
  • phoneFaxHome: personal fax
  • phoneCellHome: personal cell phone
  • phoneCustom: custom type corresponding to the value of the Label property

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