To be able to respond to control-related Repository Add-in (RepVB) events, you must supply an MdoControlEvents event sink object that implements these methods:
Method | Description |
ObjectAdded | Invoked when an MdoControl object has been added to the repository. |
ObjectRemoved | Invoked when an MdoControl object has been removed from the repository. |
ObjectRenamed | Invoked when an MdoControl object has been renamed in the repository. |
ObjectSynchronized | Invoked when an MDO control object has been synchronized with the corresponding Visual Basic control. |
To begin receiving events, register your MdoControlEvents event sink object with the ConnectControlEvents Repository Add-in method.