Solved

RAD XE2 "tab design" missing

Posted on 2011-09-28
4
642 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to center only a line in richedit? 4 79
Delphi android app hide keyboard 3 85
IP without any Dots 1 100
Firemonkey Listview item popup menu ? 1 78
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

710 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