April 2002
Intermediate to advanced
688 pages
19h 51m
English
RemoveHandler Statement
RemoveHandlerNameOfEventSender, AddressOfNameOfEventHandler
NameOfEventSender (required; String literal)The name of a class or object instance and its event, such as Button1.Click
NameOfEventHandler (required; String literal)The name of a subroutine to remove as event handler for
NameOfEventSender
Removes a previous binding of an event handler to a built-in or custom event
For an illustration, see Section 7.2.3 in Chapter 7.
The Handles keyword can be used to receive event
notification for the lifetime of an object. In contrast,
AddHandler and RemoveHandler
can be used to dynamically add and remove event notification at
runtime.
Read now
Unlock full access