Solved

RAD XE2 "tab design" missing

Posted on 2011-09-28
4
630 Views
Last Modified: 2012-05-12
Hello, since today the design tab is missing on unit1. History and code are visible. When selecting unit2 the design tab is visible. Compiling the project is no problem and the program is running okay except for the borders wich are not in place.

Any help is appriciated.

Thank you.
0
Comment
Question by:Vincentg
  • 2
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
ebob42 earned 100 total points
Comment Utility
Can you press F12 to force the designer to show itself?

Is there still a DFM file available on disk?

Does the .pas file have a line with {$R *.DFM} inside? Did the .pas file get renamed, but the .dfm file was not renamed?

The above are some questions you may want to look at... which may solve the problem.

Groetjes, Bob Swart
0
 

Author Comment

by:Vincentg
Comment Utility
Hello Bob, thanks for the quick reply, i checked all your options..

1. F12 will not bring up the designer.

2.  {$R *.DFM} is present.. but i did add a line {$R SOUND.RES} to the unit. The project compiled with no errors on that. After the problem started (i restarted XE2) i removed {$R SOUND.RES} to see if that caused the error. It looks now like this.
uses Unit2;
{$R *.dfm }
procedure TForm1.Button4Click(Sender: TObject);

3. There is a unit1.pas and a unit1.dfm in the project directory.

Groetjes terug ;)
0
 

Author Comment

by:Vincentg
Comment Utility
SOLVED: as you can see in my previous post there is a space between {$R *.dfm and }
This caused the problem. Bob thanks for your input. I accept your comment.
0
 
LVL 7

Expert Comment

by:ebob42
Comment Utility
Two {$R ...} should not have caused the problem, but it may be that the designer got unlinked.

What you can try is to right-click on Unit1.pas in the Project Manager and remove it from the project. Then, right-click on the project and add the unit back in again. That would hopefully add the .pas as wel as the associated .dfm file with designer support back in.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

763 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

10 Experts available now in Live!

Get 1:1 Help Now