ItemSelected Event

       

Occurs when a component in the Project window or an open designer-window is clicked.

Syntax

Sub object_ItemSelected (vbcomponent As VBComponent)

The ItemSelected 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 selected.