This project is read-only.

cControlChild_Event.Remove Method


Removes the specified function from the registry.

Syntax

expression.Remove(fn, key)

expression A variable that represents a cControlChild_Event object.

Parameters

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.

Remarks

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

Example

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

Comments

No comments yet.