<< Click to Display Table of Contents >> VpeSetCharCount |
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.
void VpeSetCharCount(
VpeHandle hDoc,
int count
)
VpeHandle hDoc
Document Handle or VPE Object Handle
int count
the number of characters
Default:
15
Remarks:
If CharCount is set to zero, the FormField will behave the same as if VpeWrite(Box) was used.
"FormFields" in the Programmer's Manual