Forum: Sonstige Fragen zu Delphi
Delphi
by daywalker9,
1. Mär 2010
Nun ja, kommt drauf an welche Form du mit Close schließt, ist es die Application.MainForm, wird auch nur Application.Terminate aufgerufen.
procedure TCustomForm.Close;
var
CloseAction: TCloseAction;
begin
if fsModal in FFormState then
ModalResult := mrCancel
else
Forum: Sonstige Fragen zu Delphi
Delphi
by daywalker9,
1. Mär 2010
Close schließt nur die Form.
Application.Terminate hingegen die ganze applikation.
Wenn du auf "X" klickst, wird auch nur das Close der Form aufgerufen