Activate Method

       

Causes the currently selected component in the project window to be activated as if it were double-clicked.

Syntax

object.Activate

The object placeholder represents an object expression that evaluates to an object in the Applies To list.