Share via


Visual Basic Extensibility Reference

ItemActivated Event

See Also   Example   Applies To

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

Subobject**_ItemActivated(vbcomponentAs VBComponent)**

Subobject**_ItemActivated(vbprojectAs 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.