EventInfo.removeEventHandler

Overview | Methods | This Package | All Packages

EventInfo.removeEventHandler

Removes a delegate from a component.

Syntax

public void removeEventHandler( Object component, Delegate value )

Parameters

component

The component on which the delegate was receiving events.

value

A com.ms.lang.Delegate object that represents the delegate to be removed.

Remarks

This method invokes the component's removeOn<EventName> method to remove the specified delegate.

See Also   addEventHandler