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

fekNoneThe field needs no in-place editor, for example check boxes, radio buttons, push buttons and signature widgets
fekTextSingle-line text field
fekMultilineTextMultiline text field
fekPasswordSingle-line password field
fekMultilinePasswordMultiline password field
fekCombTextSingle-line comb field with one cell per character
fekListBoxList box with single selection
fekMultiSelectListBoxList box that allows several selected entries
fekComboBoxDrop-down list box without free text
fekEditableComboBoxCombo box that also accepts typed text

See also

GetFormFieldEditorKind, BeginEditFormField, InteractiveForms, TPDFlibViewer