CharCount

<< Click to Display Table of Contents >>

Navigation:  FormFields >

CharCount

Previous pageReturn to chapter overviewNext page

Sets the maximum number of characters that can be displayed in a FormField. This value equals the number of character cells drawn in a FormField.

 

[Interactive Edition only]

if the value of CharCount is negative, an Interactive FormField is painted without dividers as if CharCount was zero, but the absolute value of CharCount specifies the maximum number of characters, which may be entered into the control by the user.
e.g. CharCount = -15 would mean, that a user may only enter up to 15 characters into the Interactive FormField.

property long VPE.CharCount

read / write; runtime only; also supported by TVPEObject

Possible Values:

the number of character cells drawn in a FormField

Default:

15

Remarks:

If CharCount is set to zero, the FormField will behave the same as if Write(Box) was used.

 

See also:

"FormFields" in the Programmer's Manual