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
| FieldIndex | One-based field or Widget index associated with the action |
|---|---|
| TriggerEvent | PDF form trigger name such as K, V, F, Fo or Bl |
| ActionInfo | Decoded action and target information |
| Allow | Mutable permission flag initially set to True |