[fpc-pascal] is there a way to list out all classes defined in a unit during run time?
Dennis Poon
dennis at avidsoft.com.hk
Thu Nov 7 09:01:46 CET 2013
I have a unit which I will incrementally add new subclasses of TCommand.
At run time, I want to get a list of subclasses of TCommand so that I
can compare the where the user's required input (from network) matches
the name of any TCommand.
Currently, I have to register each subclass in the initialization
section of the unit.
Is there a way to list out all classes defined in a unit during run time?
Dennis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20131107/5cc3864d/attachment.html>
More information about the fpc-pascal
mailing list