designer: allow to put controls on a TCustomFrame children

git-svn-id: trunk@17607 -
This commit is contained in:
paul 2008-11-27 02:26:06 +00:00
parent 037203ea19
commit c564a009b3

View File

@ -1443,7 +1443,7 @@ var
ControlSelection.Clear; ControlSelection.Clear;
// find a parent for the new component // find a parent for the new component
if FLookupRoot is TCustomForm then begin if (FLookupRoot is TCustomForm) or (FLookupRoot is TCustomFrame) then begin
if MouseDownComponent is TWinControl then if MouseDownComponent is TWinControl then
NewParentControl:=TWinControl(MouseDownComponent) NewParentControl:=TWinControl(MouseDownComponent)
else else