You've already forked lazarus-ccr
RxFPC:cleanup code
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4647 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -114,18 +114,10 @@ type
|
||||
|
||||
function TRxDBGridFooterTools.MouseDown(Button: TMouseButton;
|
||||
Shift: TShiftState; X, Y: integer): boolean;
|
||||
var
|
||||
Cell: TGridCoord;
|
||||
begin
|
||||
if (Y > THackRxDBGrid(RxDBGrid).GCache.ClientHeight - (RxDBGrid.DefaultRowHeight * RxDBGrid.FooterOptions.RowCount)) then
|
||||
begin
|
||||
Result:=true;
|
||||
Cell := RxDBGrid.MouseCoord(X, Y);
|
||||
if (ssDouble in Shift) then
|
||||
DoSetupTools;
|
||||
end
|
||||
else
|
||||
Result:=false;
|
||||
Result:=(Y > THackRxDBGrid(RxDBGrid).GCache.ClientHeight - (RxDBGrid.DefaultRowHeight * RxDBGrid.FooterOptions.RowCount));
|
||||
if Result and (ssDouble in Shift) then
|
||||
DoSetupTools;
|
||||
end;
|
||||
|
||||
constructor TRxDBGridFooterTools.Create(AOwner: TComponent);
|
||||
|
Reference in New Issue
Block a user