Don't worked. The icon is loaded by the application.
begin
Application.Title := uTipos.ProgTitulo;
Application.Initialize;
Tray.Cria;
Application.Run;
end.
2009/2/1 Vincent Snijders vincent.snijd...@gmail.com:
Guionardo Furlan schreef:
The application don't have a main form.
Look:
Guionardo Furlan wrote:
Don't worked. The icon is loaded by the application.
begin
Application.Title := uTipos.ProgTitulo;
Application.Initialize;
Tray.Cria;
Application.Run;
end.
It is all with 0.9.27 I suppose?
Best regards,
Paul Ishenin.
Guionardo Furlan wrote:
Windows XP SP3
FPC 2.2.2
Lazarus 0.9.26
In 0.9.27 we've made rather big icon rework. Please test with either
0.9.27 snapshot or with svn version. I think your problem is solved.
Best regards,
Paul Ishenin.
___
Lazarus
Can you post a very simple, but complete, example which fails?
The code you showed on the first e-mail was too short to check if your
code is wrong or if it's a bug in TIcon.
--
Felipe Monteiro de Carvalho
___
Lazarus mailing list
Dear Paul Ishenin:
I want to know if in my 0.9.27 I can insert a gif (moving chetach) in my
application first form.
thanks in advance,
Ing. Héctor F. Fiandor
hfian...@infomed.sld.cu
Guionardo Furlan wrote:
Windows XP SP3
FPC 2.2.2
Lazarus 0.9.26
In 0.9.27 we've made rather big icon
The application don't have a main form.
Look:
program nodort;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX} {$IFDEF UseCThreads}
cthreads,
{$ENDIF} {$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms
{ you can add units after this }, uEvento, uTrayIcon, uResources, uConfigura,
Guionardo Furlan schreef:
The application don't have a main form.
Look:
program nodort;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX} {$IFDEF UseCThreads}
cthreads,
{$ENDIF} {$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms
{ you can add units after this }, uEvento,
Hello lazarentos,
I've an TTrayIcon instance and need to use the same icon defined in
the Application.Icon.
I've tried:
* TrayIcon.Assign(Application.Icon)
* TrayIcon.LoadFromResourceName(HInstance, 'trayicon'); // Included an
resource file with the icon i want
Both don't worked. No errors, but
Which operating system, fpc and lazarus versions?
Does the example application work for you? It's in examples/trayicon
and it loads the icon from the LFM (inside the executable)
--
Felipe Monteiro de Carvalho
___
Lazarus mailing list