Autor Beitrag
neffets
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 29



BeitragVerfasst: Mo 16.07.07 17:52 
Hallo,
ich habe in Tform1 eine formClose Procedure mit der Auswahl Yes/No, die bei Anklicken des X (rechte obere Ecke) im Formular 1 auch korrekt ausgeführt wird. Bei Yes geschlosse bei No nicht.
Klicke ich das X im Formular 2 an, so wir die Procedure gar nicht angesprungen.

Wenn ich die Procedure nach Form2 kopiere wird beim Kopilieren ein Fehler angezeigt, daß die Procedure als overload gekennzeichnet sein soll.

Das kann ich nicht verstehen


Moderiert von user profile iconChristian S.: Topic aus Datenbanken verschoben am Mo 16.07.2007 um 18:57
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Mo 16.07.07 18:26 
Bei Form2 nochmal im Objektinspektor doppelt auf die entsprechende Prozedur (OnFormClose) klicken und dann das von Form1OnClose da rein kopieren. Nicht einfach alles von Form1 rüberkopieren.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
neffets Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 29



BeitragVerfasst: Mi 18.07.07 18:19 
danke,
funtioniert