TPDFlibViewerFormEditorKind
Data types, forms, interaction
Description
Enum that classifies the editor an interactive form field needs, returned by GetFormFieldEditorKind
Text fields resolve by their flags: multiline and password combine into a dedicated kind, and a comb layout is reported only for single-line non-password fields with MaxLen set; choice fields resolve by choice type, and everything else reports fekNone
Declaration
TPDFlibViewerFormEditorKind = (fekNone, fekText, fekMultilineText, fekPassword, fekMultilinePassword, fekCombText, fekListBox, fekMultiSelectListBox, fekComboBox, fekEditableComboBox);Values
| fekNone | The field needs no in-place editor, for example check boxes, radio buttons, push buttons and signature widgets |
|---|---|
| fekText | Single-line text field |
| fekMultilineText | Multiline text field |
| fekPassword | Single-line password field |
| fekMultilinePassword | Multiline password field |
| fekCombText | Single-line comb field with one cell per character |
| fekListBox | List box with single selection |
| fekMultiSelectListBox | List box that allows several selected entries |
| fekComboBox | Drop-down list box without free text |
| fekEditableComboBox | Combo box that also accepts typed text |
See also
GetFormFieldEditorKind, BeginEditFormField, InteractiveForms, TPDFlibViewer