![]() |
Application.Terminate ruft die API-Funktion PostQuitMessage auf welche eine WM_QUIT Message in der Message-Queue ablegt, und somit dafür sorgt, dass das Programm beendet wird. Das OnClose Ereignis wird aber durch die WM_CLOSE Message ausgelöst. D.h. bei einem Aufruf von Application.Terminate kommt keine WM_CLOSE Message an und es wird somit auch kein OnClose-Ereignis ausgelöst.
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 14:35 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