TPDFlibViewerFormFieldChange

Events, viewer interaction

Description

Fires through OnFormFieldValueChanged after interactive form filling wrote a new field value, for example a check box toggle, a committed text edit or a choice selection

The event always reports the base field index, so a radio widget click is attributed to its parent field

Declaration

TPDFlibViewerFormFieldChange = procedure(Sender: TObject; FieldIndex: Integer; const NewValue: WideString) of object;

Parameters

SenderThe viewer that wrote the value
FieldIndexOne-based base-field index of the changed field
NewValueCommitted value now stored in the field

See also

OnFormFieldValueChanged, SetFormFieldValueAndRefresh, ToggleCheckBoxField, CommitInplaceEditor, TPDFlibViewerFormFieldAction, TPDFlibViewer