Autor Beitrag
mimi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: Mi 21.05.03 17:23 
Hallo,
wenn ich diesen code in einer funktionien ausfüre wird das laden vom Programm unterbrochen, wie kann ich dies umgehen ?

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
  repeat
    application.ProcessMessages; // Test
    application.HandleMessage; // Test
    application.Restore; // Test
    NewMusik;
  until False;


ich brauche so eine funktion
hätte jemmand eine idee ?

_________________
MFG
Michael Springwald, "kann kein englisch...."
G-McKree
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 178



BeitragVerfasst: Mi 21.05.03 19:39 
ich hab sollche schleifen immer mit nem TTimer unterbrochen, damit die CPU luft holen kann
Segelflieger
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 124

WinXP Pro
D7 Prof
BeitragVerfasst: Mi 21.05.03 19:46 
Die eleganteste Methode dafür ist ein Thread. Schau am besten mal in den FAQs nach.

_________________
Früher hatten die Menschen Angst vor der Zukunft. Heute muss die Zukunft Angst vor den Menschen haben.
mimi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3458

Ubuntu, Win XP
Lazarus
BeitragVerfasst: Mi 21.05.03 19:47 
ich suche einen einfache möglichkeit.
da ich eine klasse ersllt habe und keine lust habe ein timer zu erstellen.
das mit den thrend ist keine schlechte idee.

gibt es noch andere wege ?

_________________
MFG
Michael Springwald, "kann kein englisch...."