EditingFieldIndex
Forms, interaction, data types, form fields, viewer interaction
TPDFlibFormSession.EditingFieldIndex
Read-only property of TPDFlibFormSession holding the base field index of the active text or choice edit
BeginEdit sets it to the base field of the requested Widget, and a successful commit, a cancel or a session reset clears it back to zero
The index identifies the field that stores the value, not the individual Widget that received the input
Declaration
property EditingFieldIndex: Integer read FEditingFieldIndex;
Value
Returns the base field index being edited, or 0 when no edit is active
TPDFlibViewer.EditingFieldIndex
TPDFlibViewer
BeginEditFormField holding the form field whose inplace editor is currently open
CommitInplaceEditor sets it together with the focused field, and
Declaration
property TPDFlibViewer.EditingFieldIndex: Integer read FEditFieldIndex;
Value
Returns the field index being edited, or 0 when no inplace editor is open
See also
BeginEdit, CommitEdit, CancelEdit, BeginEditFormField, CommitInplaceEditor, FocusedFieldIndex, FocusedFormFieldIndex, BaseFieldIndex, EditValue, TPDFlibFormSession, TPDFlibViewer