|
|
|
|
MaskZipCode (Function) In french: MasqueCodePostal Retrieves the zip code input mask adapted to a given country.
// Use Spain postal code mask on EDT_ZipCode EDT_ZipCode.InputMask = 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 Country variable 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 (for example, the alphabetic code of the Unites States is "US").
- A variable of type Country.
If this country is empty or unknown, an exception is triggered. <Option>: Optional integer Management mode of control exit:
| | mzcFreeExit (Default value) | Allows leaving the control even if the input mask is not checked. | mzcLockExit | Prevents users from leaving the control until the value entered is valid (e.g., 5 digits for postal codes in France). |
This parameter is taken into account only if the "Prevent from leaving control" option is selected in the "Details" tab of the control description window. If this option is not selected, the application is not blocked when the user leaves the control and no values are displayed. Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|