LazReport, fix designer show grid problem: once enabled can't be disabled

git-svn-id: trunk@19173 -
This commit is contained in:
jesus 2009-03-31 20:34:05 +00:00
parent 0d997f9838
commit 8cc922f620
2 changed files with 3 additions and 0 deletions

View File

@ -1534,6 +1534,7 @@ begin
fp := FillColor;
if (DocMode = dmDesigning) and (fp = clNone) then
fp := clWhite;
Canvas.Brush.Bitmap := nil;
Canvas.Brush.Style := bsSolid;
Canvas.Brush.Color := fp;
if DocMode = dmDesigning then
@ -3485,6 +3486,7 @@ begin
with Canvas do
begin
//Brush.Bitmap := SBmp;
Brush.Bitmap := nil;
Brush.Style := bsSolid;
Brush.Color:=clBtnFace;
FillRect(DRect);

View File

@ -960,6 +960,7 @@ var
begin
Brush.Color := clWhite;
Brush.Style := bsSolid;
Brush.Bitmap:= nil;
end;
//FillRgn(Handle, R, Brush.Handle);