<p>Am 02.03.2017 06:30 schrieb "Dennis Poon" <<a href="mailto:dennis@avidsoft.com.hk">dennis@avidsoft.com.hk</a>>:<br>
><br>
><br>
><br>
> Sven Barth wrote:<br>
><br>
>><br>
>> Am 01.03.2017 11:53 schrieb "Dennis" <<a href="mailto:dec12@avidsoft.com.hk">dec12@avidsoft.com.hk</a> <mailto:<a href="mailto:dec12@avidsoft.com.hk">dec12@avidsoft.com.hk</a>>>:<br>
>> ><br>
>> > Programmatically, I want to make a list of all Classes defined in the unit.<br>
>> > Is this info stored in the RTTI or anywhere else?<br>
>><br>
>> This info is not yet available, but will be in the future.<br>
>><br>
><br>
> Thanks.<br>
><br>
> Ideally, with this feature, in the initialization section of the unit, I can 'register' all the classes defined in the unit into a dictionary<String, TClass>.<br>
> That way, when loading objects from file, I can use the dictionary to lookup the actual TClass with the stored Classname, to recreate the object stored.</p>
<p>For now you'll simply have to do it manually for each class...</p>
<p>Regards,<br>
Sven</p>