Skip to content

Commit 84ed915

Browse files
Delphi 10.4 support
1 parent 35b9651 commit 84ed915

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Images/SupportingDelphi.jpg

14.5 KB
Loading

Source/Vcl.LabeledDBCtrls.pas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,6 @@ TLabeledDbGrid = class(TDBGrid)
309309
FHighlightCurrRow: boolean;
310310
FIncrementalSearch: boolean;
311311
StrRicercaIncrementale: string;
312-
FLayoutName: string;
313312
FOnBkCellColorAssign: TCBBkCellColorAssign;
314313
FAlternateRowColor: boolean;
315314
FSearchTimer: TTimer;
@@ -407,12 +406,11 @@ TLabeledDbGrid = class(TDBGrid)
407406
property HighlightCurrRow : boolean read FHighlightCurrRow write SetHighlightCurrRow default True;
408407
property AlternateRowColor : boolean read FAlternateRowColor write SetAlternateRowColor default True;
409408
property OnColWidthsChanged: TNotifyEvent read FOnColWidthsChanged write FOnColWidthsChanged;
410-
property ShowSortOrder: Boolean read FShowSortOrder write SetShowSortOrder default False;
409+
property ShowSortOrder: Boolean read FShowSortOrder write SetShowSortOrder default True;
411410
property OnSortedField: TCBSortedFieldEvent read FOnSortedField write FOnSortedField;
412411
property OnIsCheckBoxedColumn: TCBCheckBoxedColumnEvent read FOnIsCheckBoxedColumn write FOnIsCheckBoxedColumn;
413412
property IncrementalSearch : boolean read FIncrementalSearch write SetIncrementalSearch default False;
414413
property IncrementalSearchDelay : integer read GetIncrementalSearchDelay write SetIncrementalSearchDelay default INCREMENTAL_DELAY_DEFAULT;
415-
property LayoutName : string read FLayoutName write FLayoutName;
416414
property OnBkCellColorAssign : TCBBkCellColorAssign read FOnBkCellColorAssign write SetOnBkCellColorAssign;
417415
property CheckBoxedFields: string read FCheckBoxedFields write SetCheckBoxedFields;
418416
property DrawCheckBoxImages: Boolean read FDrawCheckBoxImages write SetDrawCheckBoxImages default True;
@@ -1067,6 +1065,8 @@ constructor TLabeledDbGrid.Create(AOwner: TComponent);
10671065
FHighlightCurrRow := True;
10681066
FAlternateRowColor := True;
10691067
FDrawCheckBoxImages := True;
1068+
FShowSortOrder := True;
1069+
FIncrementalSearch := False;
10701070
FSearchTimer := TTimer.Create(nil);
10711071
FSearchTimer.Interval := INCREMENTAL_DELAY_DEFAULT;
10721072
FSearchTimer.Enabled := False;

0 commit comments

Comments
 (0)