<< Click to Display Table of Contents >> FormFieldFlags |
Sets additional control flags for FormFields.
property FormFieldFlags [long] VPE.FormFieldFlags
read / write; runtime only; also supported by TVPEObject
Possible Values:
possible values are any combination of:
ActiveX / VCL |
Value |
Enum |
Comment |
VFF_FLAG_DIV_FIRST |
1 |
DivFirst |
first divider is painted (only, if no frame) |
VFF_FLAG_DIV_LAST |
2 |
DivLast |
last divider is painted (only, if no frame) |
VFF_FLAG_ALT_FIRST |
4 |
AltFirst |
(default) first divider is painted as AltDivider (overrides _DIV_FIRST) (only, if no frame) |
VFF_FLAG_ALT_LAST |
8 |
AltLast |
(default) last divider is painted as AltDivider (overrides _DIV_LAST) (only, if no frame) |
VFF_FLAG_AUTO_FONTSIZE |
16 |
AutoFontSize |
(default) font size is computed automatically |
Default:
VFF_FLAG_ALT_FIRST + VFF_FLAG_ALT_LAST + VFF_FLAG_AUTO_FONTSIZE
Remarks:
You can use combinations of the above flags by adding their values. Please note that if you use VFF_FLAG_ALT_FIRST, VFF_FLAG_DIV_FIRST is ignored. Also if you use VFF_FLAG_ALT_LAST, VFF_FLAG_DIV_LAST is ignored.
If you specify VFF_FLAG_AUTO_FONTSIZE, the font size for the FormField is computed automatically according to the available space for a single character. See FormField for details.
"FormFields" in the Programmer's Manual