Using this to check if c is an instance of TForm.

c.GetType().Name.CompareTo("TForm") == 0

Is there a more type safe way to do it besides using a string as a param to CompareTo()?

9 Answers
9

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *