mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-18 07:09:44 +01:00
LCL: Prevent double painting CustomDBGrid. Merge request !65 by Petr Kristan.
This commit is contained in:
parent
07ae01b655
commit
6402a449b3
@ -500,7 +500,6 @@ type
|
|||||||
procedure PrepareCanvas(aCol,aRow: Integer; aState:TGridDrawState); override;
|
procedure PrepareCanvas(aCol,aRow: Integer; aState:TGridDrawState); override;
|
||||||
procedure PrepareCellHints(aCol,aRow: Integer); override;
|
procedure PrepareCellHints(aCol,aRow: Integer); override;
|
||||||
procedure RemoveAutomaticColumns;
|
procedure RemoveAutomaticColumns;
|
||||||
procedure ResetSizes; override;
|
|
||||||
procedure SaveGridOptions(Cfg: TXMLConfig); override;
|
procedure SaveGridOptions(Cfg: TXMLConfig); override;
|
||||||
procedure SelectEditor; override;
|
procedure SelectEditor; override;
|
||||||
procedure SetEditText(ACol, ARow: Longint; const Value: string); override;
|
procedure SetEditText(ACol, ARow: Longint; const Value: string); override;
|
||||||
@ -2865,12 +2864,6 @@ begin
|
|||||||
TDBGridColumns(Columns).RemoveAutoColumns;
|
TDBGridColumns(Columns).RemoveAutoColumns;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TCustomDBGrid.ResetSizes;
|
|
||||||
begin
|
|
||||||
LayoutChanged;
|
|
||||||
inherited ResetSizes;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TCustomDBGrid.SaveGridOptions(Cfg: TXMLConfig);
|
procedure TCustomDBGrid.SaveGridOptions(Cfg: TXMLConfig);
|
||||||
var
|
var
|
||||||
Path: string;
|
Path: string;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user