Download Pocket PC Application Builder User Manual

Transcript
type of characters
A number from 1 to 9 (numeric value only)
A lowercase or uppercase letter of Latin alphabetic (A-Z,a-z)
No matter which character
Symbol
#
%
?
16
Please note that if you try to type characters whose type does not correspond to the one you have
specified in the DataType field, the program will not report any error, but these characters won't
be accepted and displayed on the control window. If you select “Any” in the DataType field,
you will be able to enter any of the admissible types of data. If you choose “Numeric” only
numeric characters will be accessible. “Alpha” – the entered data can consist of Latin alphabetic
symbols only (from A to Z, and from a to z). “AlphaNumeric” – the line entered can only
consist of Latin alphabetic and numeric symbols.
If the restriction to the type is not adequate and you have to specify the structure of the entered
data more accurately , use the Templates. To set the template, firstly select Template in the
Validation field, and then specify the pattern of the data.
The rules to structure a Template are :
Figure 15: Possible options for Validation and DataType
Like Static Control, Edit Control has its own name that is specified in the Name field. In the
OriginX, OriginY fields you set the horizontal and vertical in pixel position of the rectangular's
top left corner working with the Control window. The Width and Height fields fix the size of
the text area. In the Data field you can type some characters that will be displayed in the data
input area when the application starts (for example, it could be a point line to materialize the
place of characters entered by the operator). Or you can leave it empty.
Validation can contain one of two values: “DataType” or “Template”. To select DataType
means that the type of data that will be allowed while the application is in operation.is entered
in the associated property DataType (Figure 15)
Figure 14: The example of Edit Control usage