KB02: Abbreviation of Components
BCB Component Prefix Table
The following reference provides a practical naming convention for common BCB (C++Builder VCL) components. The naming pattern follows: <prefix><FunctionName>.
Examples: btnClose, lblStatus, edtUserName
Naming Rules
- Use a short lowercase prefix for the component type.
- Use PascalCase for the function name.
- Make the function name meaningful and descriptive.
- Avoid generic names such as Button1, Edit2, or Label3.
Standard Components
This category contains the most commonly used visual controls and containers in VCL applications. These components are typically used to build the main user interface, including text display, text input, buttons, selection controls, layout containers, and action lists. Use components in this category when building the basic structure of forms, dialogs, data entry screens, and general desktop application interfaces.
| Component | Description | Suggested Prefix | Example Name |
|---|---|---|---|
| TFrame | Reusable visual container for grouping controls and UI logic | fra | fraVolumeCard |
| TMainMenu | Main application menu bar | mmnu | mmnuMain |
| TPopupMenu | Context menu shown by right click or programmatically | pmnu | pmnuTray |
| TLabel | Static text caption for fields or status | lbl | lblStatus |
| TEdit | Single-line text input control | edt | edtUserName |
| TMemo | Multi-line text input or log output area | mem | memLogOutput |
| TButton | Standard push button | btn | btnClose |
| TCheckBox | Boolean on/off selection control | chk | chkEnableUwf |
| TRadioButton | Single option selection within a group | rad | radAutoMode |
| TListBox | List of selectable string items | lst | lstDevices |
| TComboBox | Drop-down list with optional edit area | cbx | cbxModeSelect |
| TScrollBar | Horizontal or vertical scrollbar control | sbr | sbrZoom |
| TGroupBox | Visual box for grouping related controls | grp | grpPerson |
| TRadioGroup | Grouped radio-button style selection control | rgp | rgpModeSelect |
| TPanel | Generic container panel for layout | pnl | pnlTopBar |
| TActionList | Maintains a list of actions used by menus and buttons | actlst | actlstMain |
Additional Components
This category includes extended VCL controls that provide richer interaction, better layout support, toolbar systems, enhanced text input, color selection, docking support, tray icons, and modern container behaviors. Use these components when standard controls are not enough, and the application needs more advanced UI features, an improved user experience, or a more flexible visual organization.
| Component | Description | Suggested Prefix | Example Name |
|---|---|---|---|
| TActionManager | Centralized action manager for action-based UI | actmgr | actmgrMainMenu |
| TActionMainMenuBar | Action-based main menu bar | amnb | amnbMain |
| TPopupActionBar | Action-based pop-up menu bar | pab | pabMain |
| TActionToolBar | Toolbar driven by actions | atb | atbMain |
| TXPColorMap | XP-style color map for action bars | xpcm | xpcmMain |
| TStandardColorMap | Standard color map for action bars | stdcm | stdcmMain |
| TTwilightColorMap | Twilight-themed color map for action bars | twcm | twcmMain |
| TCustomizeDlg | Dialog for customizing toolbars and actions | cdlg | cdlgToolbar |
| TBitBtn | Button with glyph and modal/result support | bbtn | bbtnOk |
| TSpeedButton | Lightweight toolbar-style button | spdbtn | spdbtnRefresh |
| TMaskEdit | Masked text input control | medt | medtDateInput |
| TStringGrid | String-based grid control | sgrd | sgrdStudents |
| TDrawGrid | Owner-drawn grid control | dgrd | dgrdPreview |
| TImage | Displays bitmap, PNG, or other image content | img | imgPreview |
| TShape | Simple geometric shape display | shp | shpStatusIndicator |
| TScrollBox | Scrollable container for child controls | scr | scrContentArea |
| TCheckListBox | List box with check boxes for each item | clb | clbOptions |
| TSplitter | Resizable divider between aligned controls | spl | splMain |
| TStaticText | Static text with optional special display behavior | stxt | stxtHint |
| TLinkLabel | Label containing clickable links | lnk | lnkHelp |
| TControlBar | Dockable container for toolbars and controls | cbar | cbarMain |
| TApplicationEvents | Hooks for application-level events | appev | appevMain |
| TValueListEditor | Two-column name/value editor | vle | vleSettings |
| TLabeledEdit | Edit control with embedded label | ledt | ledtFileName |
| TButtonedEdit | Edit control with built-in buttons | bedt | bedtSearch |
| TColorBox | Drop-down color selector | clr | clrTheme |
| TColorListBox | List-based color selector | clst | clstTheme |
| TCategoryButtons | Button groups arranged by categories | cbtns | cbtnsActions |
| TButtonGroup | Group of selectable buttons | btngrp | btngrpTools |
| TDockTabSet | Tab set used in docking layouts | dtab | dtabDock |
| TTabSet | Lightweight tab selector control | tabs | tabsOptions |
| TTrayIcon | System tray notification icon | tray | trayUwf |
| TFlowPanel | Flow layout container | fpnl | fpnlButtons |
| TGridPanel | Grid layout container | gpnl | gpnlMain |
| TBalloonHint | Balloon-style hint provider | bhnt | bhntMain |
| TCategoryPanelGroup | Expandable category panel container | cpg | cpgSettings |
Win32 Components
This category contains Windows-specific controls that wrap classic Win32 user interface elements such as tab controls, tree views, list views, toolbars, status bars, date pickers, and image lists. Use these components when building traditional Windows desktop interfaces that need native-style controls or when working with established VCL design patterns based on the Win32 API.
| Component | Description | Suggested Prefix | Example Name |
|---|---|---|---|
| TTabControl | Basic tab control without pages | tab | tabSettings |
| TPageControl | Multi-page tabbed container | pgc | pgcMainTabs |
| TImageList | Image list shared by controls such as toolbars and tree views | iml | imlToolbarIcons |
| TRichEdit | Rich text editor control | redit | reditReport |
| TTrackBar | Slider control for ranged values | trk | trkVolume |
| TProgressBar | Progress indicator control | prg | prgOverlayUsage |
| TUpDown | Spin up/down companion control | upd | updCount |
| THotKey | Hotkey input control | hky | hkyShortcut |
| TAnimate | AVI animation display control | ani | aniBusy |
| TDateTimePicker | Date/time picker control | dtp | dtpBirthday |
| TMonthCalendar | Month calendar date selector | cal | calSchedule |
| TTreeView | Hierarchical tree display | tvw | tvwFolders |
| TListView | Multi-view item list control | lvw | lvwFiles |
| THeaderControl | Header sections for custom list/grid UI | hdr | hdrMain |
| TStatusBar | Status bar at the form's bottom | stb | stbMain |
| TToolBar | Button toolbar control | tlb | tlbMain |
| TCoolBar | Rebar-style container for toolbars | cbar | cbarTools |
| TPageScroller | Scroll container for toolbars/pages | psc | pscToolbar |
| TComboBoxEx | Extended combo box with images | cbxe | cbxeDevices |
| TXPManifest | Enables themed Windows visual styles | xpmf | xpmfMain |
| TShellResources | Shell resource helper component | shres | shresMain |
| TTaskbar | Windows taskbar integration component | tskbar | tskbarMain |
| TJumpList | Windows jump list integration | jlst | jlstMain |
System Components
This category contains non-visual or system-level integration components that connect the application to operating system services such as timers, notifications, Bluetooth, media playback, sharing features, DDE, and OLE embedding. Use these components when the application needs to communicate with Windows services, schedule repeated tasks, show notifications, or integrate with external devices and system features.
| Component | Description | Suggested Prefix | Example Name |
|---|---|---|---|
| TBluetoothLE | Bluetooth Low Energy manager component | ble | bleMain |
| TBluetooth | Classic Bluetooth manager component | bt | btMain |
| TBeacon | Beacon manager component | bcn | bcnMain |
| TBeaconDevice | Represents a detected beacon device | bcndev | bcndevTarget |
| TNotificationCenter | Local notification manager | ntfc | ntfcMain |
| TTimer | Timer for periodic events | tmr | tmrTrayUpdate |
| TPaintBox | Custom painting surface | pbx | pbxPreview |
| TMediaPlayer | Media playback controller | mply | mplyMain |
| TOleContainer | OLE embedded object container | ole | oleDoc |
| TCOMAdminCatalog | COM+ administration catalog access | comcat | comcatMain |
| TDdeClientConv | DDE client conversation | ddec | ddecMain |
| TDdeClientItem | DDE client item link | ddeci | ddeciData |
| TDdeServerConv | DDE server conversation | ddes | ddesMain |
| TDdeServerItem | DDE server item | ddesi | ddesiData |
| TSharingContract | Windows sharing contract integration | share | shareMain |
Dialogs Components
This category contains built-in dialog components for user interaction through standard Windows dialog boxes, such as file open/save, font and color, print, find/replace, and other common system dialogs. Use these components whenever the application needs a familiar, consistent dialog experience for file handling, text editing, printing, formatting, or other standard user operations.
| Component | Description | Suggested Prefix | Example Name |
|---|---|---|---|
| TOpenDialog | File open dialog | odlg | odlgOpen |
| TSaveDialog | File save dialog | sdlg | sdlgSave |
| TOpenPictureDialog | Picture open dialog | opd | opdImage |
| TSavePictureDialog | Picture save dialog | spd | spdImage |
| TOpenTextFileDialog | Text file open dialog | otdlg | otdlgText |
| TSaveTextFileDialog | Text file save dialog | stdlg | stdlgText |
| TFontDialog | Font selection dialog | fdlg | fdlgMain |
| TColorDialog | Color selection dialog | cdlg | cdlgColor |
| TPrintDialog | Print dialog | pdlg | pdlgPrint |
| TPrinterSetupDialog | Printer setup dialog | psdlg | psdlgPrinter |
| TFindDialog | Find text dialog | fnddlg | fnddlgText |
| TReplaceDialog | Replace text dialog | rpldlg | rpldlgText |
| TPageSetupDialog | Page setup dialog | pgsdlg | pgsdlgMain |
| TRunDialog | Windows run dialog | rundlg | rundlgMain |
| TFormatDialog | Format dialog | fmtdlg | fmtdlgMain |
| TChangeIconDialog | Change icon dialog | icodlg | icodlgMain |
| TShutDownDialog | Windows shutdown dialog | shddlg | shddlgMain |
Data Access Components
This category contains core non-visual data access components used to connect datasets to user interface controls and to manage in-memory or provider-based data flow. Use these components when building database applications, local data processing tools, or data-aware forms that require a structured link between stored data and the visual interface.
| Component | Description | Suggested Prefix | Example Name |
|---|---|---|---|
| TDataSource | Links the dataset to data-aware controls | ds | dsMain |
| TClientDataSet | In-memory client dataset | cds | cdsMain |
| TDataSetProvider | Provider between the dataset and the client dataset | dsp | dspMain |
Data Controls Components
This category contains visual data-aware controls that display or edit records from datasets directly. Use these components when the application needs forms, grids, navigators, editors, or lookup controls that are automatically connected to database fields through a data source.
| Component | Description | Suggested Prefix | Example Name |
|---|---|---|---|
| TDBGrid | Data-aware grid control | dbg | dbgMain |
| TDBNavigator | Data-aware navigation bar | dbnav | dbnavMain |
| TDBText | Read-only data-aware text display | dbtxt | dbtxtStatus |
| TDBEdit | Data-aware single-line editor | dbedt | dbedtName |
| TDBMemo | Data-aware memo editor | dbmem | dbmemNotes |
| TDBImage | Data-aware image display | dbimg | dbimgPhoto |
| TDBListBox | Data-aware list box | dblst | dblstCategory |
| TDBComboBox | Data-aware combo box | dbcbx | dbcbxStatus |
| TDBCheckBox | Data-aware check box | dbchk | dbchkActive |
| TDBRadioGroup | Data-aware radio group | dbrgp | dbrgpType |
| TDBLookupListBox | Lookup list box for foreign-key style selection | dblulst | dblulstCustomer |
| TDBLookupComboBox | Lookup combo box for foreign-key style selection | dblucbx | dblucbxCustomer |
| TDBRichEdit | Data-aware rich edit control | dbredit | dbreditDetail |
| TDBLabeledEdit | Data-aware labeled edit control | dbledt | dbledtCode |
| TDBCtrlGrid | Repeating panel for dataset records | dbcg | dbcgItems |
FireDAC Components
This category contains FireDAC database access components used for modern, high-performance connection management, SQL execution, cached datasets, metadata queries, local SQL processing, and event monitoring. Use these components when building database applications that require direct SQL access, cached data handling, transaction control, or a scalable database layer across multiple database engines.
| Component | Description | Suggested Prefix | Example Name |
|---|---|---|---|
| TFDManager | FireDAC manager and driver registry | fdmgr | fdmgrMain |
| TFDConnection | Database connection component | fdcon | fdconMain |
| TFDTransaction | Transaction controller | fdtrx | fdtrxMain |
| TFDCommand | Low-level SQL command executor | fdcmd | fdcmdExec |
| TFDTableAdapter | Adapter for update and reconcile operations | fdtadp | fdtadpMain |
| TFDSchemaAdapter | Manages cached updates across datasets | fdsadp | fdsadpMain |
| TFDMemTable | In-memory FireDAC dataset | fdmem | fdmemMain |
| TFDQuery | SQL query dataset | fdqry | fdqryMain |
| TFDStoredProc | Stored procedure dataset | fdsp | fdspMain |
| TFDTable | Direct table access dataset | fdtbl | fdtblMain |
| TFDUpdateSQL | Custom update SQL definitions | fdusql | fdusqlMain |
| TFDMetaInfoQuery | Metadata query component | fdmq | fdmqTables |
| TFDEventAlerter | Database event notification listener | fdevt | fdevtMain |
| TFDLocalSQL | Local SQL engine over datasets | fdlsql | fdlsqlMain |
| TFDQBE | Query-by-example component | fdqbe | fdqbeMain |
REST Client Components
This category contains components for communicating with REST-based web services, including client configuration, individual requests, response storage, dataset adapters, and authentication helpers. Use these components when the application needs to access HTTP APIs, cloud services, JSON-based endpoints, or token-protected web services.
| Component | Description | Suggested Prefix | Example Name |
|---|---|---|---|
| TRESTClient | REST service client configuration | restc | restcMain |
| TRESTRequest | Individual REST request component | restr | restrGetUsers |
| TRESTResponse | Stores REST response content | rests | restsMain |
| TRESTResponseDataSetAdapter | Adapts the REST response into a dataset | restda | restdaMain |
| TRESTRequestDataSetAdapter | Adapts dataset values into a REST request | restrda | restrdaMain |
| TSimpleAuthenticator | Simple username/password authenticator | sauth | sauthMain |
| THTTPBasicAuthenticator | HTTP Basic authenticator | basauth | basauthMain |
| TOAuth1Authenticator | OAuth 1 authenticator | oauth1 | oauth1Main |
| TOAuth2Authenticator | OAuth 2 authenticator | oauth2 | oauth2Main |
Net Components
This category contains HTTP networking components designed for direct web communication at the request and client level. Use these components when the application needs lightweight HTTP access for downloading data, uploading content, calling web endpoints, or building custom network communication logic without a full REST component stack.
| Component | Description | Suggested Prefix | Example Name |
|---|---|---|---|
| TNetHTTPClient | HTTP client for network requests | httpc | httpcMain |
| TNetHTTPRequest | Individual HTTP request helper | httpr | httprUpload |
Windows 10 Components
This category contains newer VCL controls and helpers designed for modern Windows user interface patterns, including toggle switches, search boxes, split views, image collections, virtual image lists, stack panels, date pickers, and title bar integration. Use these components when building a more modern-looking Windows application or when you need scalable image handling, adaptive layout containers, or newer UI interaction patterns.
| Component | Description | Suggested Prefix | Example Name |
|---|---|---|---|
| TActivityIndicator | Activity spinner indicator | actind | actindBusy |
| TToggleSwitch | On/off toggle switch control | tgl | tglDarkMode |
| TSearchBox | Search input box | srch | srchFilter |
| TRelativePanel | Relative-position layout panel | rpnl | rpnlHeader |
| TSplitView | Collapsible side panel container | svw | svwNav |
| TCalendarView | Calendar date view control | calv | calvMain |
| TCalendarPicker | Calendar picker input control | calp | calpStartDate |
| TImageCollection | Central image collection for modern image controls | imgcol | imgcolTrayIcons |
| TVirtualImageList | Virtual image list mapped from the image collection | vil | vilTrayIcons |
| TVirtualImage | Virtual image display control | vimg | vimgStatus |
| TControlList | Virtualized list container for custom item controls | ctlst | ctlstMain |
| TControlListButton | Button inside control list item | clbtn | clbtnAction |
| TControlListCheckBox | Check the box inside the control list item | clchk | clchkSelect |
| TControlListRadioButton | Radio button inside control list item | clrad | clradChoice |
| TNumberBox | Numeric entry control | nbx | nbxCount |
| TDatePicker | Modern date picker control | dpk | dpkStartDate |
| TTimePicker | Modern time picker control | tpk | tpkStartTime |
| TStackPanel | Stacked layout panel | spnl | spnlMain |
| TCardPanel | Card-switching panel container | cpnl | cpnlViews |
| TWindowsStore | Windows Store integration component | wstore | wstoreMain |
| TTitleBarPanel | Custom title bar panel | tbpnl | tbpnlMain |
| TFormTabsBar | Form tabs bar component | ftabs | ftabsMain |
Samples Components
This category contains sample or demonstration controls that are often used for quick utilities, educational examples, prototype interfaces, visual indicators, and legacy helper controls. Use these components when building demo applications, lightweight utility tools, teaching materials, or quick UI prototypes, where they can provide useful functionality with minimal setup.
| Component | Description | Suggested Prefix | Example Name |
|---|---|---|---|
| TGauge | Gauge indicator control | gge | ggeMain |
| TColorGrid | Grid of selectable colors | cgrd | cgrdTheme |
| TSpinButton | Up/down spin button | spnbtn | spnbtnValue |
| TSpinEdit | Numeric edit with spin buttons | spnedt | spnedtCount |
| TDirectoryOutline | Directory tree outline | dirout | diroutMain |
| TCalendar | Calendar control | cal | calMain |
| TPie | Pie chart control | pie | pieUsage |
| TCTrayIcon | Classic tray icon component | ctray | ctrayMain |
| TPerformanceGraph | Performance graph control | pgraph | pgraphCpu |
| TCSpinButton | Custom spin button control | cspnbtn | cspnbtnValue |
| TCSpinEdit | Custom spin edit control | cspnedt | cspnedtValue |
| TCColorGrid | Custom color grid control | ccgrd | ccgrdTheme |
| TCGauge | Custom gauge control | cgge | cggeMain |
| TCDirectoryOutline | Custom directory outline | cdirout | cdiroutMain |
| TCCalendar | Custom calendar control | ccal | ccalMain |