Skip to content

Commit

Permalink
ver.1.3.1
Browse files Browse the repository at this point in the history
- Fixed DbGrid rendering
- Updated Copyright
  • Loading branch information
carloBarazzetta committed Jan 13, 2024
1 parent be0e8a0 commit c0e2277
Show file tree
Hide file tree
Showing 34 changed files with 48 additions and 1,049 deletions.
4 changes: 3 additions & 1 deletion Demo/DBAwareLabeledComponentsDemo.dpr
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ uses

begin
Application.Initialize;
Application.Title := 'Normal and DataAware Labeled Components Editors Demo - Copyright (c) 2021-2023 Ethea S.r.l.';
Application.MainFormOnTaskbar := True;
Application.Title := 'Normal and DataAware Labeled Components Editors Demo - Copyright (c) 2021-2024 Ethea S.r.l.';
//Uses System Style for border / shadow of Forms
TStyleManager.FormBorderStyle := TStyleManager.TFormBorderStyle.fbsSystemStyle;
Application.CreateForm(TMainForm, MainForm);
Application.Run;
end.
1,018 changes: 8 additions & 1,010 deletions Demo/DBAwareLabeledComponentsDemo.dproj

Large diffs are not rendered by default.

Binary file modified Demo/DBAwareLabeledComponentsDemo.res
Binary file not shown.
6 changes: 0 additions & 6 deletions Demo/Main.dfm
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ object MainForm: TMainForm
ActivePage = DbGridTabSheet
Align = alClient
TabOrder = 0
ExplicitWidth = 892
ExplicitHeight = 627
object DbGridTabSheet: TTabSheet
Caption = 'Labeled and Advanced DbGrid'
ImageIndex = 2
Expand Down Expand Up @@ -146,8 +144,6 @@ object MainForm: TMainForm
Height = 218
Align = alBottom
TabOrder = 1
ExplicitTop = 379
ExplicitWidth = 884
object FontLabel: TLabel
Left = 353
Top = 129
Expand Down Expand Up @@ -5371,8 +5367,6 @@ object MainForm: TMainForm
Height = 59
Align = alBottom
TabOrder = 1
ExplicitTop = 627
ExplicitWidth = 892
object OpenButton: TButton
Left = 8
Top = 14
Expand Down
4 changes: 2 additions & 2 deletions Demo/Main.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down Expand Up @@ -406,7 +406,7 @@ procedure TMainForm.CreateNumberBoxForField(const AField: TField;
LDBNumberBox := TLabeledDBNumberBox.Create(Self);
LDBNumberBox.BoundCaption := AField.DisplayLabel;
LDBNumberBox.SetBounds(ALeft,ATop,131,21);
LDBNumberBox.BoundLabel.SetPosition(lpLeftMiddle);
LDBNumberBox.BoundLabel.SetPosition(lpTopLeft);
LDBNumberBox.Hint := 'Hint';
LDBNumberBox.Alignment := taRightJustify;
// LDBNumberBox.CurrencyFormat := 2;
Expand Down
Binary file modified Images/SupportingDelphi.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Packages/D10_4/DBAwareLabeledComponents.res
Binary file not shown.
Binary file modified Packages/D10_4/dclDBAwareLabeledComponents.res
Binary file not shown.
Binary file modified Packages/D11/DBAwareLabeledComponents.res
Binary file not shown.
Binary file modified Packages/D11/dclDBAwareLabeledComponents.res
Binary file not shown.
5 changes: 2 additions & 3 deletions Packages/D12/DBAwareLabeledComponents.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<ProjectGuid>{DA811525-0AC8-4B01-802D-4C87D18B1F6A}</ProjectGuid>
<MainSource>DBAwareLabeledComponents.dpk</MainSource>
<ProjectVersion>20.0</ProjectVersion>
<ProjectVersion>20.1</ProjectVersion>
<FrameworkType>VCL</FrameworkType>
<Base>True</Base>
<Config Condition="'$(Config)'==''">Release</Config>
Expand Down Expand Up @@ -130,8 +130,7 @@
<Source>
<Source Name="MainSource">DBAwareLabeledComponents.dpk</Source>
</Source>
<Excluded_Packages>
</Excluded_Packages>
<Excluded_Packages/>
</Delphi.Personality>
<Platforms>
<Platform value="Win32">True</Platform>
Expand Down
5 changes: 2 additions & 3 deletions Packages/D12/dclDBAwareLabeledComponents.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<ProjectGuid>{8484ED88-BB64-466F-BA27-B08980C3F027}</ProjectGuid>
<MainSource>dclDBAwareLabeledComponents.dpk</MainSource>
<ProjectVersion>20.0</ProjectVersion>
<ProjectVersion>20.1</ProjectVersion>
<FrameworkType>VCL</FrameworkType>
<Base>True</Base>
<Config Condition="'$(Config)'==''">Release</Config>
Expand Down Expand Up @@ -105,8 +105,7 @@
<Source>
<Source Name="MainSource">dclDBAwareLabeledComponents.dpk</Source>
</Source>
<Excluded_Packages>
</Excluded_Packages>
<Excluded_Packages/>
</Delphi.Personality>
<Platforms>
<Platform value="Win32">True</Platform>
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

An extended TDBGrid plus classic Delphi-VCL Editors with Boundary-Label (DB-Aware and Standard) including NumberBox

### Actual official version 1.3.0 (VCL)
### Actual official version 1.3.1 (VCL)

An advanced TDbGrid component:

Expand Down Expand Up @@ -82,6 +82,11 @@ _{InstallDir}\Source_

Coming soon, into Wiki section.

### RELEASE NOTES
13 Jan 2024: ver.1.3.1
- Fixed DbGrid rendering
- Updated Copyright

### RELEASE NOTES
21 Aug 2023: ver.1.3.0
- Added support for Delphi 12
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.BoundLabel.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.DBAwareLabeledComponentsRegistry.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.DBNumberBox.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.DbAwareLabeledConsts.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.DbAwareLabeledUtils.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.Form.CalendarView.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.LabeledButtonEdit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.LabeledCheckLst.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.LabeledColorGrd.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.LabeledComCtrls.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.LabeledCtrls.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.LabeledCurrencyEdit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down
8 changes: 5 additions & 3 deletions Source/Vcl.LabeledDBCtrls.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down Expand Up @@ -1725,8 +1725,10 @@ procedure TLabeledDbGrid.LayoutChanged;
RowCount := 1 + TitleOffset
else
begin
RowCount := 1000;
DataLink.BufferCount := VisibleRowCount;
if VisibleRowCount < 1 then
DataLink.BufferCount := 1
else
DataLink.BufferCount := VisibleRowCount;
RowCount := RecordCount + TitleOffset;
if dgRowSelect in Options then TopRow := FixedRows;
UpdateActive;
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.LabeledDBListView.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.LabeledDbImage.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.LabeledExtCtrls.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.LabeledGraphicUtils.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.LabeledMask.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.LabeledNumberBox.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.LabeledShellUtils.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down
2 changes: 1 addition & 1 deletion Source/Vcl.SelectOptionsForm.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{ }
{ DataAwareLabeledComponents: Dataaware Edit components with Label }
{ }
{ Copyright (c) 2021-2023 (Ethea S.r.l.) }
{ Copyright (c) 2021-2024 (Ethea S.r.l.) }
{ Author: Carlo Barazzetta }
{ }
{ https://github.com/EtheaDev/DBAwareLabeledComponents }
Expand Down

0 comments on commit c0e2277

Please sign in to comment.