Delphi: how to lock dfm-s to not change...?

Posted by durumdara on Stack Overflow See other posts from Stack Overflow or by durumdara
Published on 2010-05-26T10:47:24Z Indexed on 2010/05/26 10:51 UTC
Read the original article Hit count: 324

Filed under:
|
|
|
|

Hi!

We used Delphi 6 long times ago. Our problem, that Delphi have two problems with DFMs:

1.) When some linked resource (like DataSet) will removed, Delphi many times forget to ask you that "some of the resources are linked, you need to redirect...". This happens, when the actual form is not added to the project, or it is not opened.

2.) When we only open the DFM, and only see some thing, may we change it (active TabSheet, form position). Then Delphi auto save the form - and sometimes it drops the links. Another problem with this that we used SVN, and SVN detect these changes...

We thought that we change DFM files to read only, but this can prevent the usage of SVN too...

So somebody please help us: have the Delphi some extension (like gexpert) that can lock the DFMs to avoid changes, and some other tool to see that dataset is used in other forms or not?

Thanks for your help: dd

© Stack Overflow or respective owner

Related posts about svn

Related posts about delphi