<div dir="ltr"><div><div><div>Hi,<br><br></div>The FPC stable version allow to declare a new type, as private/protected/public, inside a class.<br>So, I propose migrate enums to your "own" classes... why?<br><br>
</div><div>Well, I have my own TProcess so TMyProcess inherit from TProcess. Perfectly. But I need to use some properties like:<br>    Property Options : TProcessOptions <br>    Property Priority : TProcessPriority <br>    Property StartupOptions : TStartupOptions <br>
<br></div>These properties are defined in Process unit. My class is in myprocess unit (or something like that).<br>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.<br>
<br>So, what do you think about it?<br><br></div><div>Regards,<br></div>Marcos Douglas<br><div><div><div><br></div><div><br><br></div><br><br><br></div></div></div>