Examples
Look at those examples, showing all the components with different Label alignments: the demo is available into Demo Folder
| Sample | Description |
|---|---|
![]() | Example of LabeledDbGrid with LinesPerRow = 3 to show multiline content of memo fields |
![]() | Example of LabeledDbGrid with RowMargin = 15 to to change height of grid Row. Fully compatible with Styles (light and dark) |
![]() | Example of collection of Dataaware components with label aligned to "TopLeft" |
![]() | Example of LabeledDBCurrencyEdit and LabeledDBNumberBox (only for 10.4.2): Dataware components for numeric input (from right to left) with label aligned to "LeftMiddle" |
![]() | Example of collection of Standard components with label aligned to "TopRight" |
![]() | Example of collection of components with label aligned to "BottomCenter" |
![]() | All 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:
| Option | Description |
|---|---|
| HighLight current row | Highlights the current row (HighlightCurrRow) |
| Alternate row colors | Alternate background color for even rows (AlternateRowColor) |
| Show Sort Order | Shows the sort indicator into the column title (ShowSortOrder) |
| Incremental search | Incremental search when typing into a ReadOnly grid (IncrementalSearch) |
| Custom Draw | Example of custom drawing of the cells (OnDrawColumnCell) |
| Bold Column Titles | Bold style for the column titles (TitleFont.Style) - new in ver.1.4.1 |
| Filter data expression | Filters the data shown into the grid |
| Custom Background color | Custom colors for the current row and the even rows (OnBkCellColorAssign) |
| Ctl3D | Classic 3D or flat drawing of the grid |
| Wrap Column Titles | Word-wrap of the column titles (WrapColumnTitles) |
| Inplace Editing / AutoEdit Datasource | Enables the editing of the data into the grid |
| Draw CheckBox for Boolean Fields | Shows a checkbox for boolean fields (DrawCheckBoxImages) |
| Wrap All Text | Word-wrap of the text of the cells (WrapAllText) |
| Font Height | Height of the grid font and of the column titles font |
| Lines per Row | Number of text lines of any row (LinesPerRow) |
| Row Margin | Extra margin to enlarge the height of any row (RowMargin) |
| Title Lines | Height of the title row in number of text lines (TitleLines) |
| Options | The standard Options of the DbGrid (dgEditing, dgTitles, dgRowSelect...) |







