Skip to content

Examples ​

Look at those examples, showing all the components with different Label alignments: the demo is available into Demo Folder

SampleDescription
DemoDataAwareDbGridLinesPerRow3Example of LabeledDbGrid with LinesPerRow = 3 to show multiline content of memo fields
DemoDataAwareDbGridRowMargin15Example of LabeledDbGrid with RowMargin = 15 to to change height of grid Row. Fully compatible with Styles (light and dark)
DemoDataAwareTopLeftExample of collection of Dataaware components with label aligned to "TopLeft"
DemoDataAwareNumberEditorsLeftMiddleExample of LabeledDBCurrencyEdit and LabeledDBNumberBox (only for 10.4.2): Dataware components for numeric input (from right to left) with label aligned to "LeftMiddle"
Preview Thumbnails DarkExample of collection of Standard components with label aligned to "TopRight"
Preview Thumbnails DarkExample of collection of components with label aligned to "BottomCenter"
Preview Thumbnails DarkAll components are fully VCL styles compatible

TLabeledDbGrid options in the Demo ​

In the "Labeled and Advanced DbGrid" page of the Demo you can try the features of the TLabeledDbGrid:

OptionDescription
HighLight current rowHighlights the current row (HighlightCurrRow)
Alternate row colorsAlternate background color for even rows (AlternateRowColor)
Show Sort OrderShows the sort indicator into the column title (ShowSortOrder)
Incremental searchIncremental search when typing into a ReadOnly grid (IncrementalSearch)
Custom DrawExample of custom drawing of the cells (OnDrawColumnCell)
Bold Column TitlesBold style for the column titles (TitleFont.Style) - new in ver.1.4.1
Filter data expressionFilters the data shown into the grid
Custom Background colorCustom colors for the current row and the even rows (OnBkCellColorAssign)
Ctl3DClassic 3D or flat drawing of the grid
Wrap Column TitlesWord-wrap of the column titles (WrapColumnTitles)
Inplace Editing / AutoEdit DatasourceEnables the editing of the data into the grid
Draw CheckBox for Boolean FieldsShows a checkbox for boolean fields (DrawCheckBoxImages)
Wrap All TextWord-wrap of the text of the cells (WrapAllText)
Font HeightHeight of the grid font and of the column titles font
Lines per RowNumber of text lines of any row (LinesPerRow)
Row MarginExtra margin to enlarge the height of any row (RowMargin)
Title LinesHeight of the title row in number of text lines (TitleLines)
OptionsThe standard Options of the DbGrid (dgEditing, dgTitles, dgRowSelect...)

Available from Delphi XE3 to Delphi 13 (32bit and 64bit platforms) ​

Released under Apache License, Version 2.0.