Thanks. -----Original Message----- From: Max Nilson [mailto:[EMAIL PROTECTED] Sent: Friday, 7 March 2003 2:46 p.m. To: Multiple recipients of list delphi Subject: RE: Re: [DUG]: Two questions
Samuel Allan asked: > 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. You need to write a New Object expert. That's how the automatic code geneation stuff is done. > 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. And to do this you'll need to get seriously into using the Open Tools interfaces to edit the code on the fly. That's how the property changing code editing stuff is done. The deveil is in the details. I suggest that you grab the source for GExperts from http://www.gexperts.org/. The site also include a very good OTA FAQ that will help you with lots of the seriously funky stuff. I would recommded Ral Lischner's books, but these are now out of print. And somewhat out of date as well. But Delphi 7 (and perhaps 6) has lots of online help detailing the OTA interfaces that should get you either started or totally confused 8-) --------------------------------------------------------------------------- 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/
