Solved

dfm Vs ~dfm Forms not visible

Posted on 2002-04-22
8
256 Views
Last Modified: 2010-04-04
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
Comment
Question by:mebarron
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 2

Expert Comment

by:Kalroth
ID: 6961229
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
 
LVL 9

Expert Comment

by:ginsonic
ID: 6961399
Maybe you don't have the pas file for this form ?
0
 

Expert Comment

by:lottol
ID: 6961905
Backup file (*.~*) is created on Save event. It's possible you didn't save unit1 after killing (*.~*)
0
 
LVL 9

Expert Comment

by:ginsonic
ID: 6961953
lottol , look alike what I say ;)
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Expert Comment

by:lottol
ID: 6962039
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
 
LVL 6

Accepted Solution

by:
wimmeyvaert earned 50 total points
ID: 6962407
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
 

Author Comment

by:mebarron
ID: 6962716
You were right. Thanks so much
0
 
LVL 6

Expert Comment

by:wimmeyvaert
ID: 6962720
No probs, glad to be of some help
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Thread safe  opinion 7 126
Virtuailstring tree compare node issue 14 103
Dynamically Created Query 3 48
PHP preg_replace code convert to Delphi 14 30
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

5 Experts available now in Live!

Get 1:1 Help Now