On Fri, 28 Feb 2014 15:29:03 -0300 Marcos Douglas <m...@delfire.net> wrote:
>[...] > These properties are defined in Process unit. My class is in myprocess unit > (or something like that). > The problem is: I can not use the enums values because they don't exists in > my unit (myprocess) but if these enums were defined inside TProcess class > (public type), I can use them without problem. > > So, what do you think about it? Enums are always public and global. For example: TMyClass = class private type MyEnums = (enum1, enum2); public e: MyEnums; end; enum1 can be used in other units. Mattias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal