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

John Bird johnkbird at paradise.net.nz
Tue Sep 10 15:02:59 NZST 2013


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 



More information about the Delphi mailing list