The different types of masks
Regardless of the type of mask, a mask can be:
- preset. The editor proposes different types of masks according to the content of the control (text, numeric, ...).
- custom. All you have to do is enter the mask to apply. For example, "CCC9 LL 9A" for a text control or "DDD DD MMMM YYYY" for a date control. A regular expression can also be provided by the ..输入掩码 property
- notfound. No mask is associated with the control. No check is performed in this case.
For Numeric, Currency, Date, Time and Duration controls, the mask can also be "Defined by the project
". In this case, the linguistic characteristics defined in the "Language" tab of the project description are automatically taken into account according to the runtime language of the application.
The linguistic options selected by default are the ones of Windows.
For each type of numeric data, you have the ability to define the parameters that will be applied (decimal separator, thousand separator, currency symbol, time format, AM or PM symbol, ...).
Note: This option allows you to automatically use the same configuration of the multilingual feature in all the numeric controls of the application. The management of the multilingual formats is centralized in the project description.
The display/input mask of a control is defined in the description window of the control ("General" tab or "Details" tab) or by programming (..输入掩码).