[fpc-pascal] How do I add a TComponent to TPanel dynamically?
Marco van de Voort
marcov at stack.nl
Tue Aug 26 08:51:59 CEST 2008
In our previous episode, Danie said:
> I hope this the right forum for this question (gtk on
> lazarus-0.9.24-1.fc8 rpm on fpc-2.2.0-10.fc8 rpm)(but I know there are
> people here that can help me %^).
> I would like to add a special TShape (descendant or TComponent) to a
> I tried the following but must be missing something.
I only looked quickly, but it seems you create the tshape with the
parent of the controlvolume class as owner (..create(sender)), but you
destroy it manually. Don't.
More information about the fpc-pascal