Autor Beitrag
jjturbo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 516

Win2000 prof., WinXP prof.
D4 Stand., D5 Prof, D7 Prof, D2007 Prof.
BeitragVerfasst: Do 09.08.07 08:29 
Moin Forum,

mal ´ne ganz doofe Frage.

Ich habe ein Projekt, welches nach dem Starten im CPU-Fenster anhält, obwohl ich keine Haltepunkte im Projekt definiert habe. Mit F9 kann ich die Ausführung problemlos fortsetzen.

Weiss jemand, wie man das weg bekommt?

Danke im voraus, jjturbo

_________________
Windows XP: Für die einen nur ein Betriebssystem - für die anderen der längste Virus der Welt...
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Do 09.08.07 08:32 
Dann hast du irgendwo nen ganz blöden Fehler drin. Setz mal ein paar Haltepunkte um festzustellen, wo der Fehler auftritt und beseitige ihn.

_________________
We are, we were and will not be.
jjturbo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 516

Win2000 prof., WinXP prof.
D4 Stand., D5 Prof, D7 Prof, D2007 Prof.
BeitragVerfasst: Do 09.08.07 08:49 
hmm...

Hier liegt das Problem...aber warum?
Wenn ich diese zeile auskommentiere gehts.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure THauptForm.FormCreate(Sender: TObject);
begin
  WindowState                := wsMaximized;
end;

_________________
Windows XP: Für die einen nur ein Betriebssystem - für die anderen der längste Virus der Welt...
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Do 09.08.07 10:13 
Du versuchst eine Eigenschaft eines Objekts zu verändern, dass gerade erst erzeugt wird. Manchmal kann das funktionieren. Ist aber wohl eher Glückssache.

Stell das doch gleich im Objekt-Inspektor ein.
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Do 09.08.07 10:19 
...oder verschiebe diese Codezeile ins OnShow-Event.

_________________
We are, we were and will not be.
jjturbo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 516

Win2000 prof., WinXP prof.
D4 Stand., D5 Prof, D7 Prof, D2007 Prof.
BeitragVerfasst: Do 09.08.07 13:35 
Ok, so gehts.
Danke Euch

_________________
Windows XP: Für die einen nur ein Betriebssystem - für die anderen der längste Virus der Welt...