TPDFlibFormSessionActionEvent

Data types, forms, events

Description

Receives a typed form action before a form session applies the associated focus or edit operation Set

Allow to False to veto the pending operation

Declaration

type
  TPDFlibFormSessionActionEvent = procedure(Sender: TObject;
    FieldIndex: Integer; const TriggerEvent: AnsiString;
    const ActionInfo: TPDFlibActionInfo; var Allow: Boolean) of object;

Parameters

FieldIndexOne-based field or Widget index associated with the action
TriggerEventPDF form trigger name such as K, V, F, Fo or Bl
ActionInfoDecoded action and target information
AllowMutable permission flag initially set to True

See also

TPDFlibFormSession, TPDFlibActionInfo