Thanks to all of you who replied to this question with both your "pure" and "dirty" answers. I have just (in the last 5 mins) discovered that my original mentor, Alex, (the supplier of the original Component) is back in town and is this very minute emailing me another copy of it. That is the best solution of all - and I can now delay a little longer the need to learn how to make my own component! Thanks again, your help is appreciated. Mark Rohit Gupta wrote: > Mark, > > The least hassle is to create a component as others have said. > However, there is another way :- > > 1. Convert dfms to text > 2. Do a global search and replace for name and properties on all > pas and tst files. > > I have tools for doing both, if you require them. > > To: Multiple recipients of list delphi <[EMAIL PROTECTED]> > Send reply to: [EMAIL PROTECTED] > Date sent: Tue, 28 Mar 2000 12:04:53 +1200 > From: Mark Howard <[EMAIL PROTECTED]> > Organization: Forest Production Systems Ltd > Subject: [DUG]: Globally replacing a component > > > Hello > > This is a disaster recovery question! > > > > My production machine has died. My backup covered my project > > files OK but (as Murphy would have it) there is a one-off > > component (TNumericEdit) that was provided to me by a contract > > programmer (and of which there are maybe 50 instances of in the > > project), which escaped my backup. > > > > When I try to load the project on my second machine and open the > > MainUnit I get a message saying that the class TNumericEdit is > > not found and that if I continue the the components are likely to > > be deleted from the project. > > > > Assuming that I cannot track down another copy of this component, > > I would like to replace it globally with.one from the DSP. I > > anticipate that I will just then have to merely recode the > > appropriate events of the new components. > > > > If so I would appreciate if someone could give me some (newbie > > level) instructions on how to go about replacing each instance of > > the TNumericEdit and keeping the original component events code > > intact. Is this possible? > > > > TIA > > > > Mark > > > > Rohit > > ====================================================================== > CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand > PH (649) 489-2280 > FX (649) 489-2290 > email [EMAIL PROTECTED] or [EMAIL PROTECTED] > ====================================================================== > > --------------------------------------------------------------------------- > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz
begin:vcard n:Howard;Mark tel;cell:(021) 477 564 tel;fax:(07) 348 8178 tel;work:(07) 348 8177 x-mozilla-html:FALSE adr:;;;;;; version:2.1 email;internet:[EMAIL PROTECTED] fn:Forest Production Systems Ltd end:vcard