Autor Beitrag
Leathl
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 276



BeitragVerfasst: Fr 31.01.03 17:06 
---


Zuletzt bearbeitet von Leathl am So 16.08.09 12:21, insgesamt 1-mal bearbeitet
Sivar
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 40



BeitragVerfasst: Fr 31.01.03 22:13 
Wie bereits geschrieben - ich kenn die Kompo nicht.
Ich nehme mal an, dass es sich dabei um ein Handle handelt.

In dem Fall lädst du das Icon erstmal in ein eigenes TIcon und weisst der Kompo dann das Handle von deinem TIcon zu.

Beispiel:
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
var
  MyIcon : TIcon;

begin
  MyIcon := TIcon.Create;
  MyIcon.LoadFromFile('c:\myicon.ico');
  CoolTrayIcon1.Icon := MyIcon.Handle;
  ...

Geht aber nur wenns wirklich ein Handle ist.

Btw: Wo gibts die Kompo? Dann kann ich mir's direkt mal anschauen.

Gruß
Sivar

Moderiert von user profile iconTino: Code-Tags hinzugefügt.
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 01.02.03 11:18 
vergiss das free nicht !!

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Leathl Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 276



BeitragVerfasst: Sa 01.02.03 16:08 
---