Sorry, I think I have not been clear. I want people to inherit my component (a data module descendant). When they do so, I want some code to be written for them, like when I create a new form the var ... code is written for me. I also want this code to update to reflect changes they make in the properties of their descendant descendant data module.
An example of the effect I want is the form's var... code below. -----Original Message----- From: Terry Johnson [mailto:[EMAIL PROTECTED] Sent: Friday, 7 March 2003 1:16 p.m. To: Multiple recipients of list delphi Subject: Re: [DUG]: Two questions Open the form. Go to the object inspector, and in the drop down list pick the Form object (if you've just opened the form, it should be the default), then change the name property. ----- Original Message ----- From: "Allan, Samuel" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Friday, March 07, 2003 10:23 AM Subject: [DUG]: Two questions Question One: You know how when you make a form you get a few free bits of code like: var Form1: TForm1; And then if you change the form's name to 'Samuel' the free code changes to: var Samuel: TSamuel; I want to do this. But I don't know how. I don't know where to look in the help, because I don't know what this is called, I just think I want to do it. --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
