There is no reason why you couldn't have a class that uses each visibility directive.
On Wed, Apr 29, 2009 at 11:19 AM, Robert Meek <[email protected]> wrote: > Hi all, > You guys are gonna get sick of me and all my posts now that I'm > back, but considering how long I was away, it would take twice as many just > to start making up for that time! <g> > > As regards the 'Strict' keyword when used along with fields and/or > methods, I've many time wished I could do this: > > Type > MyClass = Class > Strict Private > CValue : Integer > End; > > Thus making it possible for only this class to be able to access > CValue. But now that I can, can I also mix a regular 'Private' section in > the same class that a Strict Private section is defined, allowing the entire > unit to access its fields and methods? I couldn't find an example showing > this > > from "Robert Meek" dba "Tangentals Design" > Creative Concepts Programming for Windows Vista > E-mail: [email protected] > "Most people would sooner die than think; in fact, they do so!" > [Bertrand Russell 1872-1970] > > > _______________________________________________ > Delphi mailing list -> [email protected] > http://lists.elists.org/cgi-bin/mailman/listinfo/delphi > _______________________________________________ Delphi mailing list -> [email protected] http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

