Тема: Close формы
Показать сообщение отдельно
  #2  
Старый 02.02.2017, 18:17
Аватар для NumLock
NumLock NumLock вне форума
Let Me Show You
 
Регистрация: 30.04.2010
Адрес: Северодвинск
Сообщения: 5,426
Версия Delphi: 7, XE5
Репутация: 59586
По умолчанию

так и должно быть. Close для MainForm вызывает Application.Terminate, который в свою очередь PostQuitMessage(0).
Цитата:
Remarks

The PostQuitMessage function posts a WM_QUIT message to the thread's message queue and returns immediately; the function simply indicates to the system that the thread is requesting to quit at some time in the future.
__________________
Пишу программы за еду.
__________________
Ответить с цитированием