Autor Beitrag
Jojojoxx
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 386



BeitragVerfasst: So 19.06.05 00:42 
Hallo!

Ich habe mich heute ein wenig mit der CoolTrayIcon Kompontente beschäftigt. An sich funktioniert das minimieren ins Tray auch.
Ich habe es aber immer noch nicht hinbekommen, dass beim Doppelklick auf das Icon im Tray das Fenster wiederhergestellt wird!
Kann mir da einer weiterhelfen???
Dank euch für die Hilfe!

mfg

Jojo


Zuletzt bearbeitet von Jojojoxx am So 08.01.06 20:21, insgesamt 1-mal bearbeitet
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 19.06.05 10:16 
probier mal application.restore;

_________________
In the beginning was the word.
And the word was content-type: text/plain.
patrick
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1481

WIN2k, WIN XP
D6 Personal, D2005 PE
BeitragVerfasst: So 19.06.05 10:25 
mit
ausblenden Delphi-Quelltext
1:
Application.Restore;					

kannst du das Fenster wiederherstellen

_________________
Patrick
im zweifelsfall immer das richtige tun!!!
Jojojoxx Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 386



BeitragVerfasst: So 19.06.05 10:54 
Hi!

Danke für die Antworten!
In welche Prozedur schreibe ich das denn dann rein?
Wenn ich das in die Prozedur "TForm1.CoolTrayIcon1Click(Sender: TObject);" schreibe, dann öffnet sich das Fenster schon wieder nach einem Klick und nicht erst nach einem Doppelklick!!!

Jojo
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: So 19.06.05 11:31 
dann schreibs in die OnDblClick !

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



BeitragVerfasst: So 19.06.05 11:39 
Hi!

Sowohl mit
ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm1.CoolTrayIcon1DblClick(Sender: TObject);
begin
application.restore;
end;


als auch mit
ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm1.CoolTrayIcon1OnDblClick(Sender: TObject);
begin
application.restore;
end;


klappt´s nicht! :(
"Undefinierter Bezeichner"...

mfg

Jojo

Moderiert von user profile iconraziel: Code- durch Delphi-Tags ersetzt.
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Di 21.06.05 16:45 
kannst du die fehlermeldung bitte mal komplett posten !?

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



BeitragVerfasst: Di 21.06.05 16:47 
Hi!

Habs inzwischen hingekriegt!
Trotzdem danke für deine Hilfe! :-)

mfg

Jojo