fixed TControl.HandleObjectShouldBeVisible to ignore loading state

git-svn-id: trunk@9140 -
This commit is contained in:
mattias 2006-04-17 17:20:00 +00:00
parent 639b8b29b6
commit a7a8977dfb

View File

@ -3008,8 +3008,7 @@ function TControl.HandleObjectShouldBeVisible: boolean;
begin
Result:=(Visible
or ((csDesigning in ComponentState)
and not (csNoDesignVisible in ControlStyle)))
and not (csLoading in ComponentState);
and not (csNoDesignVisible in ControlStyle)));
end;
{------------------------------------------------------------------------------