Solved

Delphi2010: unable to define Icon in the left corn of application

Posted on 2010-11-12
11
408 Views
Last Modified: 2012-06-27
hi all,

i would like to load Icon from menu->project->option->application->symbol in delphi2010 IDE.

but the whole Button are deactived. any idea?

thanks.

wantime
icon-deactived.jpg
0
Comment
Question by:wantime
  • 6
  • 4
11 Comments
 
LVL 24

Expert Comment

by:jimyX
ID: 34121628
For a normal GUI application you can change the application icon from Project - Options. For console mode applications this section is disabled - and thus all console mode application have a default icon.
0
 
LVL 24

Expert Comment

by:jimyX
ID: 34121667
0
 
LVL 32

Expert Comment

by:ewangoya
ID: 34131917
Use
Project->Options..

Select Application from the tree view
Click on Load Icon to select your icon
Change-Application-Icon.png
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 

Author Comment

by:wantime
ID: 34154954
thanks.

the problem is that the button "Load Icon" is deactived in my delphi IDE.
0
 
LVL 24

Expert Comment

by:jimyX
ID: 34155080
Are you creating a "VCL Forms Application" or "Console application" ?

That button should be enabled if you are using VCL Forms Application. In Console application that button will be disabled, to be able to change the icon of a console application check the link in my last post 34121667.
0
 
LVL 24

Expert Comment

by:jimyX
ID: 34155185
As per the attached pic. which one you have selected to start your application ?

Try a new project by selecting "VCL Forms Application", I think in the Dutch version it is "VCL Forms-Anwendung" then go and check:

menu->project->option->application->symbol

New-item.JPG
0
 

Author Comment

by:wantime
ID: 34155679
it is  the VCL Forms Application, the button was activated few days ago. ..
0
 
LVL 24

Expert Comment

by:jimyX
ID: 34155869
It's activated already ? What was the problem ?
0
 

Author Comment

by:wantime
ID: 34171467
it was activated since i installed delphi, then it turns deactivated. that's why i wrote post here.

i wonder if it is something to do with the registry?



0
 
LVL 24

Accepted Solution

by:
jimyX earned 500 total points
ID: 34171970
I do not think it's the Registry.

I suspect you deleted the following line from your Delphi Project ".dpr":

{$R *.res}

If so just add it as per the location shown in a default dpr file:

program Project1;

uses
  Forms,
  Unit1 in 'Unit1.pas' {Form1};

{$R *.res}

begin
  Application.Initialize;
  Application.MainFormOnTaskbar := True;
  Application.CreateForm(TForm1, Form1);
  Application.Run;
end.

Open in new window

0
 

Author Comment

by:wantime
ID: 34257336
you are right, jimyX. The problem is on dpr file. thanks.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

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 The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

786 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