[DUG] Finding all instances of a component where a property has notbeen set

Jeremy Coulter jscoulter at gmail.com
Tue Sep 10 16:46:13 NZST 2013


so have you hard coded the property on the control itself rather than in
code ?

Jeremy


On Tue, Sep 10, 2013 at 4:26 PM, Robert Martin <rob at chreos.co.nz> wrote:

> Hi
>
> I don't think they were ever set correctly.  Might have to make a tool
> to deal with it!
>
> Cheers
> Rob
>
>
>   On 10/09/2013 3:02 p.m., John Bird wrote:
> > I have a tool that can search DFM too, but it can find where a property
> is
> > set, not where there is no setting.
> >
> > I do know this problem, have seen a large program (D5) where
> occasionally a
> > navigation control datasource setting was lost.   Because there were so
> many
> > data modules this was a real nuisance, I found the best way was to
> compare
> > all the DFM files with the SVN repository where the settings were known
> to
> > be correct and that often saved a pile of time - and also showed what the
> > correct setting was as well.
> >
> > Of course if the setting has never been there then you have to do
> something
> > smarter and a special tool may be needed.
> >
> > John Bird
> >
> > -----Original Message-----
> > From: Robert Martin
> > Sent: Tuesday, September 10, 2013 12:16 PM
> > To: NZ Borland Developers Group - Delphi List
> > Subject: [DUG] Finding all instances of a component where a property has
> > notbeen set
> >
> > Hi all
> >
> > We have a large app where there are some components (database connection
> > components) where a property has not been set but should have been.  A
> > recent component update by the author has bought this to our attention,
> > now we just need to find all of them and fix.
> >
> > I have a tool to search dfm files but in this case we want to find only
> > instances of a component without an entry for a property.  Is there an
> > easy way to do this or do I need to build a tool?
> >
> > Cheers
> > Rob
> >
> >
> >
> >
> > _______________________________________________
> > NZ Borland Developers Group - Delphi mailing list
> > Post: delphi at listserver.123.net.nz
> > Admin: http://delphi.org.nz/mailman/listinfo/delphi
> > Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
> > Subject: unsubscribe
> >
> > _______________________________________________
> > NZ Borland Developers Group - Delphi mailing list
> > Post: delphi at listserver.123.net.nz
> > Admin: http://delphi.org.nz/mailman/listinfo/delphi
> > Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
> Subject: unsubscribe
> >
> >
> > -----
> > No virus found in this message.
> > Checked by AVG - www.avg.com
> > Version: 2013.0.3392 / Virus Database: 3222/6650 - Release Date: 09/09/13
> >
> >
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at listserver.123.net.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
> Subject: unsubscribe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20130910/79cf5ed3/attachment.html 


More information about the Delphi mailing list