mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 16:09:41 +02:00
designer: allow to put controls on a TCustomFrame children
git-svn-id: trunk@17607 -
This commit is contained in:
parent
037203ea19
commit
c564a009b3
@ -1443,7 +1443,7 @@ var
|
||||
ControlSelection.Clear;
|
||||
|
||||
// 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
|
||||
NewParentControl:=TWinControl(MouseDownComponent)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user