Visual Basic Reference

Visual Studio 6.0

Control Object

See Also    Example    Properties    Methods    Events

The class name of all Visual Basic internal controls.

Syntax

Control

Remarks

You can dimension a variable as a Control object and reference it as you would a control on a form. The following demonstrates this:

Dim C as Control
Set C = Command1
Show: