CPB Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
re:[BC3] Need help dynamically creating/showing controls
Hello Robert,
Your code is ok. You just have to set the Parent property.
try myPanel->Parent = this;
after you've created the panel.
this is how I understood it:
Those Components have a Owner and a Parent Property. In the Constructor You
set the owner. The Owner will last until You delete the Component. The Parent
can change, but the Parent must be set to make the Component visible.
if this is not exactly how it works, please someone should correct me.
regards
Manfred
W Komornicki's Home Page |
Main Index |
Thread Index