Occurs when a component is double-clicked in the Project window, and when a project is single-clicked in a project window when there are multiple projects loaded in the IDE.
Syntax
Sub object_ItemActivated(vbcomponent As VBComponent)
Sub object_ItemActivated(vbproject As VBProject)
The ItemActivated event syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
vbcomponent | A VBComponent object specifying the name of the component that was double-clicked. |
vbproject | A VBProject object specifying the name of the project which was double-clicked. |