LCL: TControlScrollBar.IsScrollBarVisible fixed for designtime

git-svn-id: trunk@25543 -
This commit is contained in:
mattias 2010-05-20 11:57:50 +00:00
parent dd689541da
commit 169ad15bbe

View File

@ -498,7 +498,7 @@ end;
function TControlScrollBar.IsScrollBarVisible: Boolean;
begin
Result := (FControl <> nil) and FControl.HandleAllocated and
FControl.IsControlVisible;
FControl.IsControlVisible and Visible;
end;
function TControlScrollBar.ScrollPos: Integer;