mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-18 13:49:07 +02:00
LCL: clean up
git-svn-id: trunk@15436 -
This commit is contained in:
parent
5d525c37af
commit
c50c6e5f90
@ -1493,11 +1493,9 @@ type
|
|||||||
procedure TCustomDBGrid.ColRowMoved(IsColumn: Boolean; FromIndex,
|
procedure TCustomDBGrid.ColRowMoved(IsColumn: Boolean; FromIndex,
|
||||||
ToIndex: Integer);
|
ToIndex: Integer);
|
||||||
var
|
var
|
||||||
F,CurField: TField;
|
F: TField;
|
||||||
ColIndex: Integer;
|
|
||||||
begin
|
begin
|
||||||
if IsColumn then begin
|
if IsColumn then begin
|
||||||
CurField := SelectedField;
|
|
||||||
if Columns.Enabled then
|
if Columns.Enabled then
|
||||||
inherited ColRowMoved(IsColumn, FromIndex, ToIndex)
|
inherited ColRowMoved(IsColumn, FromIndex, ToIndex)
|
||||||
else if FDatalink.Active and (FDataLink.DataSet<>nil) then begin
|
else if FDatalink.Active and (FDataLink.DataSet<>nil) then begin
|
||||||
|
Loading…
Reference in New Issue
Block a user