This project is read-only.

cControlChild_Event.Remove Method

Removes the specified function from the registry.


expression.Remove(fn, key)

expression A variable that represents a cControlChild_Event object.


Name Required / Optional Data Type Description
fn Required String Name of callback function to remove from the registry.
key Optional String Key under which callback function is stored in the registry. Default key is the function name.


If the callback registry is emptied of all callback functions, the event trap is disabled until another function is added.


This example removes an existing callback function from the OnClick event registry:

OnClick.Remove "MyCallback"

Last edited Dec 19, 2010 at 4:59 AM by vba_junkie, version 1


No comments yet.