LCL: fixed TLabel.SetTransparent to use clBackground

git-svn-id: trunk@11726 -
This commit is contained in:
mattias 2007-08-03 11:13:02 +00:00
parent de83f713f2
commit faf9bcde66

View File

@ -216,8 +216,11 @@ end;
procedure TCustomLabel.SetTransparent(NewTransparent: boolean);
begin
if Transparent=NewTransparent then exit;
if NewTransparent then
Color := clNone;
Color := clNone
else if Color = clNone then
Color:=clBackground;
end;
{------------------------------------------------------------------------------