Hi, David!

>If you embed the packaged form this way, can you drag things to it from 
the host form? Does it communicate with the >host form like it's a host 
form object...

Why not? You have to implement any needed event handlers in your packaged 
form (OnDragOver, OnDragDrop, e.t.c).
As the packages form unit (in my small example) is referenced in "uses" 
clause of container form, this container has full access to public and 
published part of packages form.

>...or does it all have to be done through interfaces?

In my opinion it depends on the complexiety of your application 
architecture. 
1. If you have a small set of embedded forms in packages and plan to link 
those packages statically, I'd rather not bother with interfaces - it will 
simplify development and maintenance.
2. If you plan to use some common functionality across many packages 
objects or need to reuse your architectural decisions across a set of 
applications, it's better to think about interfaces or declarations of 
base classes.

Best regards, Pavel Evarestov 

[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to