Skip to content

ControlTypeConstants

Identifiers for the standard intrinsic and bundled control types, used by runtime introspection --- for example by code that inspects the contents of a form's Controls collection.

ConstantValueDescription
vbCommandButton0A command-button control.
vbListBox1A list-box control.
vbComboBox2A combo-box control.
vbOptionButton3An option-button (radio button) control.
vbCheckBox4A check-box control.
vbFrame5A frame control.
vbLabel6A label control.
vbPictureBox7A picture-box control.
vbTextBox8A text-box control.
vbTimer9A timer control.
vbUserControl10An ActiveX user control.
vbHScrollBar11A horizontal scrollbar.
vbVScrollBar12A vertical scrollbar.
vbImage13An image control.
vbDirListBox14A directory list-box.
vbDriveListBox15A drive list-box.
vbFileListBox16A file list-box.
vbForm17A form.
vbWebView218A WebView2 control.
vbActiveXExtender19An ActiveX extender wrapper.
vbShape20A shape control.
vbProgressBar21A progress-bar control.
vbTreeView22A tree-view control.
vbOLEControl23An OLE container control.
vbDataControl24A data control.
vbMenuControl25A menu item.
vbSlider26A slider (track-bar) control.
vbUpDown27An up-down (spin) control.
vbDTPicker28A date-time picker control.
vbMonthView29A month-view (calendar) control.
vbListView30A list-view control.
vbImageList31An image-list control.
vbPropertyPage32A property-page surface.
vbHwndControl33A control hosted by an HWND.
vbReport34A report (data-report) control.
vbCheckMark35A check-mark control.
vbTwinBridge36A TwinBridge interop wrapper (twinBASIC).
vbCefBrowser37A CefBrowser control.

twinBASIC and LOGO copyright of "WaynePhillipsEA" author