> From: "John Barrat" <[EMAIL PROTECTED]> > Subject: Visibility and Scope > To: "'Borland's Delphi Discussion List'" > <[email protected]> Message-ID: > <[EMAIL PROTECTED]> Content-Type: > text/plain; charset="us-ascii" > > I have a custom control which I have written which itself > uses a sub components and sub classes which I don't want > to expose beyond the Component. > > However, there are some aspects of these sub components I > need to expose as properties in the component. The > problem I have is that some of these properties are Enum > types which are defined in the subcomponent. > <<snip>>
Move them out into a different unit used by both your controls and your main program. As a matter of course every app and suite of apps shares a Type unit Mick _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

