BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DFM Parser logic

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (General)
View previous topic :: View next topic  
Author Message
Baliga, Narasimha
Guest





PostPosted: Wed Jun 28, 2006 8:12 am    Post subject: DFM Parser logic Reply with quote



Hi,

Not sure if I should ask this question on this news group. Please guide me
the correct NG in case, this question is not appropriate.

I am looking for some "logoc" to parse DFM file and find out some property
value set for a given component should it be declared in the DFM file.
Please let me know if anyone is aware of such logic or source code...

regards
Baliga
Back to top
Christer
Guest





PostPosted: Wed Jun 28, 2006 8:12 am    Post subject: Re: DFM Parser logic Reply with quote



Hi,

You could check out our Pascal Analyzer product, which you can get from
www.peganza.com

Among the 40+ reports generated by Pascal Analyzer from your source code,
there are two that could be useful for you:

Property Value Report - reports values for selected properties of selected
components

Missing Property Report - reports missing properties for selected components

You can download an evaluation version of Pascal Analyzer at our site. Even
though the evaluation version has limitations, these two reports are not
limited in any way.

Regards
Christer

Peganza Software

"Baliga, Narasimha" <bnbaliga (AT) yahoo (DOT) com> wrote in message
news:44a20bb9$1 (AT) newsgroups (DOT) borland.com...
Quote:
Hi,

Not sure if I should ask this question on this news group. Please guide
me the correct NG in case, this question is not appropriate.

I am looking for some "logoc" to parse DFM file and find out some property
value set for a given component should it be declared in the DFM file.
Please let me know if anyone is aware of such logic or source code...

regards
Baliga

Back to top
Erik Berry
Guest





PostPosted: Wed Jun 28, 2006 8:12 am    Post subject: Re: DFM Parser logic Reply with quote



Baliga, Narasimha wrote:
Quote:
I am looking for some "logoc" to parse DFM file and find out some property
value set for a given component should it be declared in the DFM file.
Please let me know if anyone is aware of such logic or source code...

Look in Classes.pas for TParser which can be used to parse DFM files.
There is an example of how to use it in Classes.pas as well.

Erik
Back to top
Charles McAllister
Guest





PostPosted: Wed Jun 28, 2006 11:18 pm    Post subject: Re: DFM Parser logic Reply with quote

Eddie Shipman wrote:
Quote:
To be honest, you can use TReader in Classes.pas. Outlined in the
ObjectBinaryToText function, you can see how the DFM is parsed by the
IDE.

i basically followed this logic when writing my parser.

but once you have that in a tree structure its easy to navigate.
i should mention too that codewrench will get symbol info from the dfm and the pas file.
http://www.codewrench.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (General) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.