Link to home
Start Free TrialLog in
Avatar of -Karamja-
-Karamja-

asked on

No icon

Hello,

I have GUI application how can I make it have the icon that you would get if your making a console app.
ASKER CERTIFIED SOLUTION
Avatar of Jacco
Jacco
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ferruccio Accalai
mmm...
the easiest way that i know is the following


program Project1;

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

{$R *.res}

begin
  Application.Initialize;
  Application.CreateForm(TForm1, Form1);
  application.Icon := nil; //the icon will be showed as in a console app
  Application.Run;
end.
Avatar of -Karamja-
-Karamja-

ASKER

Thanks ;D
oopss my mistake, misreaded the Q.

Jacco is right, of course :))

F68 ;-)