Question about Classes
Publicado: Mié Oct 04, 2006 11:11 am
Hello!
How can I check in code if some class inherited from defined class?
(For example, how to check if some Xailer object is TForm instance)
o:=TForm1():New(Application:oMainForm)
....
if IsForm(o) // ???
...
endif
Thank you.
Oleg.
How can I check in code if some class inherited from defined class?
(For example, how to check if some Xailer object is TForm instance)
o:=TForm1():New(Application:oMainForm)
....
if IsForm(o) // ???
...
endif
Thank you.
Oleg.