[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 266
  • Last Modified:

dfm Vs ~dfm Forms not visible

I have two forms. the associated files are
Form1 : unit1.dfm
Form3 : unit3.dfm and unit3.~dfm

I go into View -> Forms and see a listbox
with the two names Form1 and Form3.

If I click on Form3 , the form3 appears
If I click on Form1 , nothing appears.

The only difference I see in the directory is
the fact that unit3.~dfm is present and the file
unit1.~dfm is absent. What do I do to make this
necessary file? Is this problem caused by
Options->Directories  choices?
0
mebarron
Asked:
mebarron
  • 2
  • 2
  • 2
  • +2
1 Solution
 
KalrothCommented:
I belive that *.~* files are Delphi backup files and as such they shouldn't influence your project at all.
Try renaming Form3.~dfm and see if I'm not right.
I don't know why you can't view Form1 though :(
0
 
ginsonicCommented:
Maybe you don't have the pas file for this form ?
0
 
lottolCommented:
Backup file (*.~*) is created on Save event. It's possible you didn't save unit1 after killing (*.~*)
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
ginsonicCommented:
lottol , look alike what I say ;)
0
 
lottolCommented:
If you want, you can send me (email: lottol (amp) visit (dot) ru) archive of your project folder. I'll try to solve it.
Especially interesting what you have in your .dpr file.
0
 
wimmeyvaertCommented:
Have you already removed Form1, Save+Close Project, Reopen it and then add it Form1 again ?

I think I once had the same problem and this solved mine.
0
 
mebarronAuthor Commented:
You were right. Thanks so much
0
 
wimmeyvaertCommented:
No probs, glad to be of some help
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now