Skip to content

Commit 636bf62

Browse files
2 parents fd8afda + 2b6437c commit 636bf62

File tree

1 file changed

+105
-2
lines changed

1 file changed

+105
-2
lines changed

README.md

Lines changed: 105 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,105 @@
1-
# DBAwareLabeledComponents
2-
Delphi-VCL Labeled Editors (DB-Aware and Standard) including NumberBox, plus Extended DbGrid
1+
# DBAwareLabeledComponents [![License](https://img.shields.io/badge/License-Apache%202.0-yellowgreen.svg)](https://opensource.org/licenses/Apache-2.0)
2+
3+
Classic Delphi-VCL Editors plus a Boundary-Label (DB-Aware and Standard) including NumberBox, plus an Extended DbGrid
4+
5+
### Actual official version 1.0.0 (VCL)
6+
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).
8+
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 posizioni:
15+
**lpTopLeft, lpTopCenter, lpTopRight, lpBottomLeft, lpBottomCenter, lpBottomRight, lpLeftTop, lpLeftMiddle, lpLeftBottom, lpRightTop, lpRightMiddle, lpRightBottom**
16+
17+
*Look at those examples, showing all the components with different Label alignments: the demo is available into Demo Folder*
18+
19+
| Sample | Description |
20+
| ------ | ----------- |
21+
| ![DemoDataAwareTopLeft](./Images/DemoDataAwareTopLeft.png) | Example of collection of Dataaware components with label aligned to "TopLeft" |
22+
| ![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" |
23+
| ![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) |
24+
| ![Preview Thumbnails Dark](./Images/DemoNonDataAwareTopRight.png) | Example of collection of Standard components with label aligned to "TopRight" |
25+
| ![Preview Thumbnails Dark](./Images/DemoColorsImagesBottomCenter.png) | Example of collection of components with label aligned to "BottomCenter" |
26+
| ![Preview Thumbnails Dark](./Images/DemoNumberInputStyled.png) | All components are fully VCL styles compatible |
27+
28+
## Support for new NumberBox component
29+
30+
**TNumberBox** component (available from D10.4.2) is the new component for advanced numeric input. In this library you can find:
31+
- TDBNumberBox: the standard component with classic DataAeware support (DataSource + DataField) without Label.
32+
- TLabeledNumberBox: a TNumberBox component with boudary label
33+
- TLabeledDBNumberBox: a TDBNumberBox with boudary label
34+
35+
## An advanced TDbGrid component
36+
37+
TLabeledDbGrid is an advanced version of classic TDbGrid with the boundary Label, plus some extra features:
38+
- ShowSortOrder: shows an indicator of sorting column
39+
- Embedeed CheckBox for boolean fields
40+
- Incremental search, when typing into a ReadOnly DbGrid
41+
- Alternate row-color
42+
- Custom row-colors
43+
44+
### Available from Delphi XE3 to Delphi 10.4 (32bit and 64bit platforms)
45+
46+
![Delphi 10.4 Sydney Support](./Images/SupportingDelphi.jpg)
47+
48+
Related links: https://www.embarcadero.com/ - https://learndelphi.org/
49+
50+
## INSTALLATION
51+
52+
Clone repository, open Package Group "PackageGroup.groupproj" of your Delphi version located in:
53+
54+
_DBAwareLabeledComponents\Packages\DXXX_
55+
56+
Build RunTime package: DBAwareLabeledComponents.dproj
57+
58+
Install DesignTime package: dclDBAwareLabeledComponents.dproj
59+
60+
**Remember to add those folders to Search Path:**
61+
62+
_{InstallDir}\Source_
63+
64+
### DOCUMENTATION
65+
66+
Coming soon, into Wiki section.
67+
68+
### RELEASE NOTES
69+
25 Apr 2021: version 1.0.0
70+
71+
Components released:
72+
73+
only for D10.4.2
74+
- TDBNumberBox
75+
- TLabeledNumberBox
76+
- TLabeledDBNumberBox
77+
78+
for all Delphi versions (from XE3)
79+
- TLabeledColorGrid
80+
- TLabeledCurrencyEdit
81+
- TLabeledDBCurrencyEdit
82+
- TLabeledSpinEdit
83+
- TLabeledRichEdit
84+
- TLabeledCheckListBox
85+
- TLabeledEditEx (similar to TLabeledEdit)
86+
- TLabeledComboBox
87+
- TLabeledListBox
88+
- TLabeledMemo
89+
- TLabeledDBEdit
90+
- TLabeledDBLabel
91+
- TLabeledDBComboBox
92+
- TLabeledDBListBox
93+
- TLabeledDBMemo
94+
- TLabeledDBImage
95+
- TLabeledDBLookupListBox
96+
- TLabeledDBLookupComboBox
97+
- TLabeledDbGrid
98+
- TLabeledDBRichEdit
99+
- TLabeledDBCtrlGrid
100+
- TLabeledDBListView
101+
- TLabeledMaskEdit
102+
- TLabeledRadioGroup
103+
- TLabeledImage
104+
- TLabeledColorBox
105+

0 commit comments

Comments
 (0)