[fpc-pascal] is there a way to list out all classes defined in a unit during run time?
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal