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
| Sender | The viewer that wrote the value |
|---|---|
| FieldIndex | One-based base-field index of the changed field |
| NewValue | Committed value now stored in the field |
See also
OnFormFieldValueChanged, SetFormFieldValueAndRefresh, ToggleCheckBoxField, CommitInplaceEditor, TPDFlibViewerFormFieldAction, TPDFlibViewer