Board index » cppbuilder » How to load a panel from a DLL and attached it to main form in runtime?

How to load a panel from a DLL and attached it to main form in runtime?


2003-12-19 09:11:54 PM
cppbuilder81
How to load a panel from a DLL and attached it to main form in runtime?
 
 

Re:How to load a panel from a DLL and attached it to main form in runtime?

abc wrote:
Quote
How to load a panel from a DLL and attached it to main form in runtime?
Where/how does your TPanel reside in the DLL ?
If the TPanel is on a TForm in the DLL you coud do it like:
dllform->Panel1->Parent = this;
Where this is (in) the mainform.
or
dllform->Panel1->Parent = Appliction->MainForm;
elswhere.
Hans.