![]() |
TApplicationEvents funktioniert nicht
ich habe ein programm ohne mainform. Ich habe auf einem Formular die Komponente TApplicationEvents eingefügt.
und anschließend folgende funktion implementiert:
Delphi-Quellcode:
aber warum wird die nicht beim minimieren aufgerufen. sie ist definitiv der tapplicationevents-komponente zugewiesen.
procedure TWindows_Oberflaeche_anpassen.ApplicationEvents1Minimize(
Sender: TObject); begin if WindowState = wsMinimized then Application.Minimize; end; gruß |
Re: TApplicationEvents funktioniert nicht
:gruebel: Das OnMinimize wird ausgeführt, sobald minimiert wird. du musst da nicht auch noch manuell minimieren ;)
Greetz alcaeus |
Re: TApplicationEvents funktioniert nicht
hmm es geht drum, dass meine application in die taskleiste minimiert wird. da das formular sich sonst über der taskleiste befindet. aber das problem ist ja eigentlich, dass der code gar nicht erst beim minimieren ausgeführt wird.
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:29 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz