|
|
|
|
|
MaskZipCode (Function) In french: MasqueCodePostal Retrieves the postal code input mask adapted to a given country.
SAI_CodePostal.MasqueSaisie = MaskZipCode("ES")
Syntax
<Result> = MaskZipCode(<Country> [, <Option>])
<Result>: InputMask variable InputMask variable that contains the characteristics of the postal 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 postal 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 | Prohibits leaving the field until the value entered is valid (e.g. for the French zip code, 5 digits must be entered). |
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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|