mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-17 12:39:34 +02:00
Merged revision(s) 44234 #1bb786fda7 from trunk:
IDE: allow adding to inherited form and to child-controls on inherited forms (but not frames) ........ git-svn-id: branches/fixes_1_2@44259 -
This commit is contained in:
parent
d7606f2b34
commit
7bcbac0761
@ -6265,7 +6265,10 @@ begin
|
||||
// Because of TWriter, you can not put a control onto an
|
||||
// csInline,csAncestor control (e.g. on a frame).
|
||||
if (aControl<>aLookupRoot)
|
||||
and ([csInline,csAncestor]*aControl.ComponentState<>[]) then
|
||||
and ((aControl.Owner<>aLookupRoot)
|
||||
and ([csInline,csAncestor]*aControl.ComponentState<>[]))
|
||||
or ([csInline]*aControl.ComponentState<>[])
|
||||
then
|
||||
begin
|
||||
{$IFDEF VerboseAddDesigner}
|
||||
debugln(['ControlAcceptsStreamableChildComponent aControl=',DbgSName(aControl),' csInline=',csInline in aControl.ComponentState,' csAncestor=',csAncestor in aControl.ComponentState]);
|
||||
|
Loading…
Reference in New Issue
Block a user