Home Forum Converter Tools ActiveX Contact

Your Visual Basic 6 project deserves a new life (Optima)

Visual Basic 6 components and their Delphi counterparts

Standard UI Controls

VB6 ComponentDelphi VCLDescription
CommandButtonTButtonA standard button control
TextBoxTEditA single-line text input/display box. For multi-line text, TMemo is often used
LabelTLabelDisplays non-editable text or instructions
OptionButtonTRadioButtonAllows selection of a single option within a group
CheckBoxTCheckBoxAllows selection of multiple options
ListBoxTListBoxDisplays a list of items for selection
ComboBoxTComboBoxA drop-down list for item selection or input
PictureBoxTImage (or TPanel sometimes)Used for displaying images or as a container for other controls. TImage is generally for images, TPanel for layout/containment.
ImageTImageA lighter-weight version of PictureBox for displaying graphics
HScrollBar, VScrollBarTHScrollBar, TVScrollBarHorizontal and vertical scroll bars
Timer TTimerTriggers an event at specified intervals
Shape, LineTShape, TLineControls for drawing simple shapes on a form

Data Access Components

VB6 ComponentDelphi VCL
ADO Data Control (ADODC)TADOConnection, TADODataSet or modern TFDConnection, TFDQuery/TFDTable, TDataSource
Recordset (ADO object)TDataSet (e.g., TClientDataSet, TADOTable, TFDQuery)
DataGrid (MSDATGRD.OCX)TDBGrid
Data Environment (Designer)TDataModule (a non-visual container for data components)
Delphi's data access architecture is more structured, separating the dataset, data source, and visual navigator into distinct components, unlike VB6's consolidated ADODC. Modern Delphi applications use the FireDAC library for data access.

Other Components

VB6 ComponentDelphi VCL
DriveListBox, DirListBox, FileListBoxTDriveComboBox, TDirectoryListBox, TFileListBox
MSFlexGridTStringGrid (for unbound data), TDBGrid (for bound data)
Toolbar, ImageList, StatusBarTToolBar, TImageList, TStatusBar

Third-party VB6 ActiveX components

TVideoSoftElastic
TVideoSoftElastic component

Main Page |   Contact |  

©2025 BasToPas.com