Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2005-07

How to know if an objects implements an interface

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

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?

Reply by email