AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Sprachen und Entwicklungsumgebungen Sonstige Fragen zu Delphi Delphi Application.Restore über TrayIcon problem
Thema durchsuchen
Ansicht
Themen-Optionen

Application.Restore über TrayIcon problem

Ein Thema von thomas2009 · begonnen am 8. Jan 2009 · letzter Beitrag vom 10. Jan 2009
Antwort Antwort
Seite 2 von 2     12   
thomas2009
(Gast)

n/a Beiträge
 
#11

Re: Application.Restore über TrayIcon problem

  Alt 9. Jan 2009, 18:13
ja, das stimmt aber nun habe ich auch einen Test mit einem Form gemacht aber es passiert nichts
das Program (Form1) bleibt doch im Taskleiste von Windows minimiert
Delphi-Quellcode:
procedure TForm1.TrayIcon1DblClick(Sender: TObject);
begin

Application.ShowMainForm := true;
Application.Restore;
end;
EDIT:
Das war mit CoolTrayIcon
Mit dem JV TrayIcon hat es geklappt. Allerdings nur wenn ich Form1 (Mainform) minimiere

Gibt es keine Lösung wenn Form2 nicht das hauptformular ist ?
Ich minimiere Form2 (kein Mainform). Form2 nach dem Minimieren kommt in Taskbar ganz normal und nicht über Taskleise rechts, da ich was gebastelt habe
  Mit Zitat antworten Zitat
Tarry

Registriert seit: 6. Nov 2007
123 Beiträge
 
#12

Re: Application.Restore über TrayIcon problem

  Alt 10. Jan 2009, 00:30
Hi,
ich bin nciht sicher, ob ich das Problem richtig verstanden habe, aber ich werde trotzdem mal meinen Senf dazu geben

Wenn du die Komponente TCoolTrayIcon benutzt musst du ein Fenster sichtbar zu machen zusaetzlich folgenden Code aufrufen:
TCoolTrayIcon1.Minimized := true; Gruss
Thomas
"Es gibt zwei Dinge, die unendlich sind. Das Universum und die menschliche Dummheit. Beim Universum bin ich mir noch nicht ganz sicher." -Albert Einstein

Probiere doch mal mein Wecker aus
--> http://tarry91.quotaless.com/index.html
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 2 von 2     12   


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 12:45 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz