> > Actually is Self.Create safe - rather than TMyDialog.Create? > I think Jolyon explained it better than me but for me, it means that there is less code that needs to be modified/maintained.
Self in the class method will refer the class that the method is being called from. In the case that I have group of dialog boxes with the same standard behaviour, I can define a class method Execute in the base class and use the Self identifier without having to define the Execute class method in each and every descendant class. Cheers, Colin _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [email protected] with Subject: unsubscribe
