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.
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
Retrieves the zip code input mask adapted to a given country.
Versions 26 and later
Linux This function is now available for WINDEV applications in Linux.
Android This function is now available for Android applications.
Android Widget This function is now available in Android widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 26
Linux This function is now available for WINDEV applications in Linux.
Android This function is now available for Android applications.
Android Widget This function is now available in Android widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Linux This function is now available for WINDEV applications in Linux.
Android This function is now available for Android applications.
Android Widget This function is now available in Android widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Example
// Utilise le masque du code postal espagnol sur le champ SAI_CodePostal
SAI_CodePostal.MasqueSaisie = MaskZipCode("ES")
Syntax
<Result> = MaskZipCode(<Country> [, <Option>])
<Result>: InputMask variable
InputMask variable that contains the characteristics of the zip code input mask for the specified country. This result can be directly assigned to the InputMask property.
<Country>: String or Variable of type Country
Country for which the zip code input mask must be retrieved. This parameter can correspond to:
  • The alphabetic or numeric ISO code of the desired Country (e.g. the alphabetic ISO code for France is "FR").
  • An Variable type Country.
If this country is empty or unknown, an exception is triggered.
<Option>: Optional integer
Management mode of control exit:
mzcLockExitPrevents exiting the control until the value entered is valid (for example, 5 digits for zip codes in France).
mzcFreeExit
(Default value)
Allows exiting the control even if the input mask is not checked.

Versions 26 and later
This parameter is taken into account only if the option "Block control output" is selected in the "Detail" tab of the description window of the control. If this option is not selected, the output of control is never blocking and does not display anything regardless of the value entered in control.
New in version 26
This parameter is taken into account only if the option "Block control output" is selected in the "Detail" tab of the description window of the control. If this option is not selected, the output of control is never blocking and does not display anything regardless of the value entered in control.
This parameter is taken into account only if the option "Block control output" is selected in the "Detail" tab of the description window of the control. If this option is not selected, the output of control is never blocking and does not display anything regardless of the value entered in control.
Business / UI classification: Neutral code
Component: wd270obj.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment