SetFormFieldActionEvent
Form fields
Description
Assigns an existing action object to a form field event selected by numeric event ID
Syntax
Delphi
Function TPDFlib.SetFormFieldActionEvent(Index, EventID, ActionID: Integer): Integer;
Parameters
| Index | Form field index |
|---|---|
| EventID | 0 U, 1 D, 2 E, 3 X, 4 Fo, 5 Bl, 6 K, 7 F, 8 V, 9 C |
| ActionID | Existing action object ID |
Return values
Returns 1 on success, or 0 if the field, event ID, or action is invalid
Remarks
Use this wrapper when the Delphi class API is preferred over assembling the lower-level PDF objects manually