PDFium Delphi Component Docs

OnFormValueChange event

Component: TPdf  ·  Unit: PDFium
Fires after the value of the focused form field changes

Syntax

property OnFormValueChange: TPdfFormValueChangeEvent read FOnFormValueChange write FOnFormValueChange;

Description

OnFormValueChange fires after the interactive form layer applied a value change to the focused field, for example after typing, pasting, or a script-triggered update

The component clears the page scene cache before dispatching and re-dispatches the event while the change triggers further changes, bounded to eight rounds, so cascading field recalculations converge

Remarks

Example

procedure TMain.Pdf1FormValueChange(Sender: TObject);
begin
  Statusbar1.SimpleText := Pdf1.FocusedFormFieldValue;
end;

See Also

FocusedFormFieldValue, OnFormFieldEnter, FormHostCallbacks