Share via


Visual Basic Extensibility Reference

SetFocus Method

See Also   Example   Applies To   Specifics

Moves the focus to the specified window.

Syntax

object**.SetFocus**

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

Remarks

Use the SetFocus method on windows that are already visible.