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
Read-only property of TPDFlibViewer holding the form field whose inplace editor is currently open
BeginEditFormField sets it together with the focused field, and CommitInplaceEditor reads it to store the edited value and then clears it back to zero
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