Skip to content

Commit edb12c3

Browse files
Update README.md
1 parent 2038b94 commit edb12c3

File tree

1 file changed

+24
-19
lines changed

1 file changed

+24
-19
lines changed

README.md

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,12 @@
11
# DBAwareLabeledComponents [![License](https://img.shields.io/badge/License-Apache%202.0-yellowgreen.svg)](https://opensource.org/licenses/Apache-2.0)
22

3-
Classic Delphi-VCL Editors plus a Boundary-Label (DB-Aware and Standard) including NumberBox, plus an Extended DbGrid
3+
An extended TDBGrid plus classic Delphi-VCL Editors with Boundary-Label (DB-Aware and Standard) including NumberBox
44

55
### Actual official version 1.2.1 (VCL)
66

7-
With this small library of VCL components it is possible to have the classic VCL editors (standard and data-aware) with the addition of a "label" attached to the component itself (like the native component TLabeledEdit).
7+
An advanced TDbGrid component:
88

9-
It is no longer necessary to keep the Label "connected" and "aligned" by hand to the editor: on every component you can specify 3 simple properties:
10-
- BoundCaption
11-
- BoundLabel.Labelposition
12-
- BoundCaption.LabelSpacing (default 1)
13-
14-
The label can be positioned in 12 alignements:
15-
**lpTopLeft, lpTopCenter, lpTopRight, lpBottomLeft, lpBottomCenter, lpBottomRight, lpLeftTop, lpLeftMiddle, lpLeftBottom, lpRightTop, lpRightMiddle, lpRightBottom**
16-
17-
## PLUS: An advanced TDbGrid component
18-
19-
TLabeledDbGrid is an advanced version of classic TDbGrid with the boundary Label, plus some extra features:
9+
TLabeledDbGrid is an advanced version of classic TDbGrid with a boundary Label, plus some extra features:
2010
- ShowSortOrder: shows an indicator of sorting column
2111
- Embedeed CheckBox for boolean fields
2212
- Incremental search, when typing into a ReadOnly DbGrid
@@ -25,24 +15,39 @@ TLabeledDbGrid is an advanced version of classic TDbGrid with the boundary Label
2515
- Show sort order
2616
- Incremental search
2717
- Lines per Rows (to show memo fields with multiple lines)
28-
- RowMargin (to enlarge heigh fo rows)
18+
- RowMargin (to enlarge heigh of any row)
19+
20+
*Example of a TLabeledDbGrid (with some extended functionality like inplace checkbox and sorting) with the label aligned TopCenter (inside the client area of the grid aligned alClient).
2921

30-
## From Delphi 10.3:
22+
![Preview Thumbnails Dark](./Images/DemoDataAwareDbGridTopCenter.png)
3123

32-
TLabeledButtonEdit and TLabeledDBButtonEdit are a classic editor with a button inside (on the right). For Date Fields the button opens automatically a Popup-Calendar.
24+
This library contains also the classic VCL editors (standard and data-aware) with the addition of a "label" attached to the component itself (like the native component TLabeledEdit).
25+
26+
It is no longer necessary to keep the Label "connected" and "aligned" by hand to the editor: on every component you can specify 3 simple properties:
27+
- BoundCaption
28+
- BoundLabel.Labelposition
29+
- BoundCaption.LabelSpacing (default 1)
30+
31+
The label can be positioned with 12 alignements:
32+
**lpTopLeft, lpTopCenter, lpTopRight, lpBottomLeft, lpBottomCenter, lpBottomRight, lpLeftTop, lpLeftMiddle, lpLeftBottom, lpRightTop, lpRightMiddle, lpRightBottom**
33+
34+
## TLabeledButtonEdit:
35+
36+
Also available for D10.3 to latest, TLabeledButtonEdit and TLabeledDBButtonEdit are a classic editors with a button inside (on the right). For Date Fields the button opens automatically a Popup-Calendar.
3337

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

3640
| Sample | Description |
3741
| ------ | ----------- |
38-
| ![Preview Thumbnails Dark](./Images/DemoDataAwareDbGridTopCenter.png) | Example of a DbGrid (with some extended functionality like inplace checkbox and sorting) with the label aligned TopCenter (notice that the grid is aligned alClient and the Label is rendered inside the client area) |
42+
| ![DemoDataAwareDbGridLinesPerRow3](./Images/DemoDataAwareDbGridLinesPerRow3.png) | Example of LabeledDbGrid with LinesPerRow = 3 to show multiline content of memo fields |
43+
| ![DemoDataAwareDbGridRowMargin15](./Images/DemoDataAwareDbGridRowMargin15.png) | Example of LabeledDbGrid with RowMargin = 15 to to change height of grid Row. Fully compatible with Styles (light and dark)|
3944
| ![DemoDataAwareTopLeft](./Images/DemoDataAwareTopLeft.png) | Example of collection of Dataaware components with label aligned to "TopLeft" |
4045
| ![DemoDataAwareNumberEditorsLeftMiddle](./Images/DemoDataAwareNumberEditorsLeftMiddle.png) | Example of LabeledDBCurrencyEdit and LabeledDBNumberBox (only for 10.4.2): Dataware components for numeric input (from right to left) with label aligned to "LeftMiddle" |
4146
| ![Preview Thumbnails Dark](./Images/DemoNonDataAwareTopRight.png) | Example of collection of Standard components with label aligned to "TopRight" |
4247
| ![Preview Thumbnails Dark](./Images/DemoColorsImagesBottomCenter.png) | Example of collection of components with label aligned to "BottomCenter" |
4348
| ![Preview Thumbnails Dark](./Images/DemoNumberInputStyled.png) | All components are fully VCL styles compatible |
44-
| ![DemoDataAwareDbGridLinesPerRow3](./Images/DemoDataAwareDbGridLinesPerRow3.png) | Example of LabeledDbGrid with LinesPerRow = 3 to show multiline content of memo fields |
45-
| ![DemoDataAwareDbGridRowMargin15](./Images/DemoDataAwareDbGridRowMargin15.png) | Example of LabeledDbGrid with RowMargin = 15 to to change height of grid Row |
49+
50+
A complete Demo is available in Demo Folder.
4651

4752
## Support for new NumberBox component
4853

0 commit comments

Comments
 (0)