One instance of a Component child of more Components


Documentation says that with AddChildComponent If the component passed-in is already the child of another component, it’ll first be removed from that..

Is it possible to have the same instance of a Component to get visible (to be a child) into (of) 2 different components??


are you a child of two mothers ? eheh :slight_smile:

How can you know it??? :smiley:
So… it’s really impossible???

with the current implementation yeah !
every component could have one and only one parent.

may i ask what u need this for ? probably there are thousands other ways to go for achieve what u want to do…

Yes, allowing multiple parents would turn the whole design into an absolute nightmare! I don’t think there’s any windowing toolkit that would support that kind of thing.