2.198 .maxchars
This attribute specifies the maximum number of input characters possible in an edittext.
If .maxchars = 0, the number of characters is unlimited.
Definition
-
Data type
integer
-
Access
get, set
-
changed event
yes
Remark
If in a single-line edittext the attribute .width is set at a value smaller than the value of .maxchars, input characters are shifted horizontally.
If the edittext is multi-lined, lines can be added as long as the number of characters defined in .maxchars has not been reached. If more than the displayable number of lines has been generated, the top lines move out of the top border of the edittext object (scrolling). Any position in the input lines can be reached by positioning the text cursor correspondingly.