At 08:23 AM 12/28/2006, John Barrat wrote: >I have a component TMultiCom which uses a subcomponent TComPort >TComPort has a Property of Enum Type BaudRate (comprising br1200, br9600 >etc) I have a ComSettings property in my TMultiCom control which includes >the Enum property BaudRate. > >Without adding ComPort to my Uses section of my application how do I make >this Enum type available to my application?
The only choice which comes to mind is to separate your type definitions into a new unit that is used by both the sub-component and the main component and your application. Create a unit that just includes const and type definitions in the interface section. _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

