This method connects the specified event sink object to RepVB for receiving control-related events.
variable = object.ConnectControlEvents( eventSinkObj, progId )
The ConnectControlEvents method has these parts:
Part | Description |
variable | A variable declared as a long integer. Receives a number that identifies the specific connection that has been made. |
object | The variable name of the RepVB object. |
eventSinkObj | The event sink object that is to receive control-related events. This event sink implements methods defined for the MdoControlEvents object. |
progId | (Optional). A string containing the programmatic identifier that represents the kind of control for which you wish to receive events. If this parameter is not specified, you will receive all control-related events. |