Look up Forward Declarations in the Delphi help.
 
HTH,

C.


From: Ross Levis [mailto:[EMAIL PROTECTED] 
 
I'm defining 2 classes which refer to each other.  eg.
 
type
  Tclass1 = class
    cls2: Tclass2;
  end;
 
  Tclass2 = class
    cls1: TClass1;
  end;
 
Obviously this is over simplfied.  How do I pre-define Tclass2 so it exists when Tclass1 is defined?  I believe it can be done but I've not needed to do this before.
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to