THPDFFormEventResult Record

Outcome of one dispatched constrained form event

THPDFFormEventResult = record
  Handled: boolean;
  Changed: boolean;
  FieldName: AnsiString;
  Value: AnsiString;
  Diagnostic: AnsiString;
end;

The unit is HPDFDoc; THPDFFormEditSession.DispatchEvent fills the record through its out parameter and returns false when the event could not run at all

Handled is true when a bound action exists for the event, Changed reports whether the action changed the field value, FieldName echoes the dispatched field, Value carries the field value after the action, and Diagnostic holds the reason text when dispatch fails

THPDFFormEditSession Class