I'm trying to create an application that loads a frame from a DLL and embeds
the frame in a panel in the main application.

I can create the frame and return it to the calling app, but when I try and
set the parent property to be the panel, it's giving me an error message
'Cannot assign a TFont to a TFont'.

Why is this happening? Is it possible to do what I am attempting or not?
If not, is there another way to achieve the required result?

Basically we have a main program that has a treeview for a menu. When an
item is selected on the tree, I want to load the frame into a panel on the
main form. This is so that we can add or change frames without having to
recompile the main program.

Cheers,
Scott.

Scott Cree
Knowlysis Limited
Ph: 358-0017
Fax: 358-3534
Email: [EMAIL PROTECTED]
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to