Language Reference Guide : 4. System Classes : InputEvent Class : RemoveEventBehavior Method
 
Share this page                  
RemoveEventBehavior Method
The RemoveEventBehavior method removes the event-behavior entry corresponding to this event key and response type.
This method has the following syntax:
integer = InputEvent.RemoveEventBehavior(location = Object, eventkey = varchar(32),
          responsetype = varchar(32))
This method has the following parameters:
location
(Required) Specifies the field, frame, class, fieldtemplate, frametemplate, or application under which this event behavior was stored.
eventkey
(Required) Specifies the eventkey against which the response was stored. For more information about eventkeys, see the EventKey Method.
responsetype
(Required) Specifies the category of response under which this event-behavior was stored.
This method returns ER_OK if the eventbehavior definition was removed successfully, and ER_FAIL otherwise.