| ComponentOne True DBList Pro 8.0 > Adding the True DBList Components to the Toolbox |
TDBList and TDBCombo are the components used to create customizable lists and combo boxes to enhance data presentation and user interface.
True DBList includes two separate list controls, one for legacy (ICursor) data sources such as the Visual Basic built-in Data control, and one for OLE DB data sources such as the ADO Data Control. The two controls are functionally equivalent; they differ only in how they access data. However, you will need to choose the correct list depending upon the type of data source used, as the following table illustrates.
To use the True DBList components, they must be added to the Visual Studio Toolbox:
Open the Visual Basic IDE (Microsoft's Integrated Development Environment). Make sure the Toolbox is visible (if necessary, select Toolbox in the View menu).
To set up the TDBList components to appear on their own tab, right-click anywhere in the Toolbox and select Add Tab from the context menu. Enter a tab name, for example, “List8”, in the dialog box. Select the new tab. Right-click the gray area under that tab and select Components from the context menu. The Components dialog box opens.
In the Components dialog box, find and select the ComponentOne True DBList Pro 8.0 Control. Click OK.
![]() |
The class names are the same regardless of which control is used. However, the type library name used to qualify object references is TrueDBList70 for the legacy control, and TrueOleDBList70 for the OLE DB control. |