Qt: set offset for embedded form into scrollable form too.

git-svn-id: trunk@44991 -
This commit is contained in:
zeljko 2014-05-10 07:31:44 +00:00
parent 871b52e71c
commit 315f9649b0

View File

@ -464,7 +464,7 @@ begin
end;
{$IFDEF QTSCROLLABLEFORMS}
if (AWinControl.FCompStyle <> csForm) and Assigned(AWinControl.Parent) and
if Assigned(AWinControl.Parent) and
(AWinControl.Parent.FCompStyle = csForm) then
begin
AForm := TCustomForm(AWinControl.Parent);