GetFormFieldActionInfo

Form fields, Annotations and hotspot links

Description

Reference page for GetFormFieldActionInfo. The function belongs to Form fields, Annotations and hotspot links and keeps all identifiers exactly as shown

Syntax

Delphi

Function TPDFlib.GetFormFieldActionInfo(Index: Integer; Const TriggerEvent: WideString): TPDFlibActionInfo;

Parameters

IndexThe 1-based form-field index
TriggerEventThe trigger name to inspect: empty for the primary /A action, or E, X, D, U, Fo, Bl, K, F, V, or C

Return values

The function returns a TPDFlibActionInfo record populated in the same format used by GetAnnotActionInfo, GetOutlineActionInfo, and GetActionNextInfo

If the field or trigger is invalid, the returned record has Kind set to akNone

Remarks

For DLL callers, use DLGetFormFieldActionID and then inspect the returned action handle with the existing action getters

The U trigger reads the field /AA /U entry first, then falls back to the primary /A action when no additional mouse-up action is present