On Thu, 7 Nov 2013, Dennis Poon wrote:

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?

Currently not.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to