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

Robert Martin rob at chreos.co.nz
Tue Sep 10 16:26:40 NZST 2013


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
>
>



More information about the Delphi mailing list