How to know if an objects implements an interface

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to know if an objects implements an interface

Agustin Barto
I have a class that has a TObject field. In some of the instances of
this class the field will contain an objetct from a class that
implements certain interface. What can I do to check if the referenced
object implements the interface?

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal