GetFormFieldActionInfo
Form fields, Annotations and hotspot links
Description
Returns typed information for the action assigned to a form-field trigger
Syntax
Delphi
Function TPDFlib.GetFormFieldActionInfo(Index: Integer; Const TriggerEvent: WideString): TPDFlibActionInfo;
Parameters
| Index | The 1-based form-field index |
|---|---|
| TriggerEvent | The 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