ControlType Property

       

Returns the type of run-time window that a control creates.

Syntax

object.ControlType As vbext_ControlType

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

Settings

The settings for vbext_ControlType are:

Constant Value Description
vbext_ct_Light 1 (Default) No hWnd at run-time.
vbext_ct_Standard 2 hWnd at run-time.
vbext_ct_Container 3 hWnd at run-time, and can contain other controls.