Solved

RAD XE2 "tab design" missing

Posted on 2011-09-28
4
648 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
ebob42 earned 100 total points
ID: 36716984
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
ID: 36717188
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
ID: 36717263
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
ID: 36717288
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month10 days, 19 hours left to enroll

628 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