Solved

dfm Vs ~dfm Forms not visible

Posted on 2002-04-22
8
258 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 9

Expert Comment

by:ginsonic
ID: 6961953
lottol , look alike what I say ;)
0
 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Question has a verified solution.

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

Suggested Solutions

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

830 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