Autor Beitrag
tim4vfb
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45



BeitragVerfasst: Fr 26.03.04 13:01 
Hallo,

wollte mal wissen was ich einstellen muss damit ich ein Formular nicht über das Kreuz rechts oben schließen kann
Pascal
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 155

Win 98, Win XP
Delphi 2005, Delphi 5
BeitragVerfasst: Fr 26.03.04 14:36 
onclosequerry()
canclose:=false;
tim4vfb Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45



BeitragVerfasst: Fr 26.03.04 15:31 
Danke aber wie und wo muss ich das einbauen???
rstaeker
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 94

WIN 2000
D6 Prof
BeitragVerfasst: Fr 26.03.04 16:00 
Klick einfach dein Formular an und wähle dann im Objektinspektor die Registerkarte Ereignisse.
Dort dann einen Doppelklick bei der Eigenschaft OnCloseQuery.
ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm1.FormCloseQuery(Sender: TObject; var CanClose:Boolean);
begin
  CanClose := False;
end;

Die Delphi-Hilfe hätte Dir bei deinem Problem schon helfen können. Hat ein schönes Beispiel!!

MfG
Rene