PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WEBDEV, WINDEV Mobile 25 feature!
  • Properties specific to the description of Country 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
The Country type is used to find out the characteristics of a country. The characteristics of this country can be:
Remark: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
Example
// Retrieve information about France
oFrance is Country = CountryGet("FR")
// Display the caption
STC_Country = oFrance..Name
// Display phone number prefix
STC_Phone = oFrance..PhoneNumberPrefix
// Display flag
IMG_Flag = oFrance..Flag
Remarks

Properties specific to the description of Country variables

The following properties can be used to handle a Country variable:
Property nameType usedEffect
ISOCode2Character stringTwo-character ISO code (ISO 3166-1 standard).
This property is available in read-only.
ISOCode3Character stringThree-character ISO code (ISO 3166-1 standard).
This property is available in read-only.
ISOCodeNumCharacter stringNumeric ISO code (ISO 3166-1 standard).
This property is available in read-only.
ContinentContinent variableContinent of the country.
This property is available in read-only.
FlagImageFlag of the country
WEBDEV - Browser codeLinuxiPhone/iPadWindows MobileUniversal Windows 10 App This property is not available.
This property is available in read-only.
NationInteger
  • Integer corresponding to the constant of the country for Nation.
  • 0 if the country does not have a corresponding constant for Nation.
This property is available in read-only.
NameCharacter stringCountry name (in the language of framework).
This property is available in read-only.
PhoneNumberPrefixCharacter stringPrefix of country phone number.
This property is available in read-only.

Remark: These properties can be handled by using one of the following syntaxes:
  • <Variable name>..<Property name>
  • <Variable name>.<Property name>
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment