RemoveAction

Description

Removes the action that is associated with the specified event.

Applies to

PDFFormFieldPushButton object

Syntax

long RemoveAction(PDFFormFieldEvent actionEvent)

Argument

Description

actionEvent

The event that triggers the action.

actionEvent is of the PDFFormFieldEvent data type, supporting these values: PDFFormFieldEvent_Up! PDFFormFieldEvent_Down! PDFFormFieldEvent_Enter! PDFFormFieldEvent_Exit!.


Return value

Long. Returns 1 if it succeeds. If an error occurs, returns the Error Codes. Otherwise, returns null.

Examples

The following example removes the action that is associated with the event PDFFormFieldEvent_Down!.

long ll_return
ll_return = lpdf_pushbutton.removeaction(PDFFormFieldEvent_Down!)

See also

GetReadOnly

SetReadOnly

RemoveAllAction

AddAction