Autor |
Beitrag |
matze
      
Beiträge: 4613
Erhaltene Danke: 24
XP home, prof
Delphi 2009 Prof,
|
Verfasst: Di 13.05.03 17:13
Hallo !
Wenn ich per Appliocation.messagebox eine Message ausgebe, muss das komplette Programm ja auf die eingabe warten, und ist praktisch gelähmt.
es muss im Hintergrund aber noch ein Timer weiterlaufen können, und ein INDY Server muss weiter Daten empfangen können.
Wie muss ich was machen, damit eben das nicht passiert ??
_________________ In the beginning was the word.
And the word was content-type: text/plain.
|
|
FriFra
      
Beiträge: 557
Win XP Prof, Win XP Home,Win Server 2003,Win 98SE,Win 2000,Win NT4,Win 3.11,Suse Linux 7.3 Prof,Suse Linux 8.0 Prof
D2k5 Prof, D7 Prof, D5 Standard, D3 Prof, K3 Prof
|
Verfasst: Di 13.05.03 20:24
Da der Messagedialog immer Modal ist sehe ich da nur 2 Möglichkeiten...
1. Dialog über einen separaten Thread aufrufen
2. Eigenes Message-Form (staayontop) erstellen
|
|
matze 
      
Beiträge: 4613
Erhaltene Danke: 24
XP home, prof
Delphi 2009 Prof,
|
Verfasst: Di 13.05.03 20:37
also ein eigenes Form fällt für mich aus, da ich dann auf den ganzen komfort von den messageboxen verzichten müsste.
threads...... auch nicht übel..... hättest du da mal n code bsp für mich ?? ich hab noch nie mit denen gearbeitet !
_________________ In the beginning was the word.
And the word was content-type: text/plain.
|
|
FriFra
      
Beiträge: 557
Win XP Prof, Win XP Home,Win Server 2003,Win 98SE,Win 2000,Win NT4,Win 3.11,Suse Linux 7.3 Prof,Suse Linux 8.0 Prof
D2k5 Prof, D7 Prof, D5 Standard, D3 Prof, K3 Prof
|
Verfasst: Di 13.05.03 20:43
|
|
matze 
      
Beiträge: 4613
Erhaltene Danke: 24
XP home, prof
Delphi 2009 Prof,
|
Verfasst: Di 13.05.03 20:48
das heisst, wenn ich die MSGBox in einem Extra Thread aufpoppen lasse, hängt dieser Extra Thread solange bis die MsgBox beantwortet ist aber nicht das HauptProggi ?? ist das richtig so ?
_________________ In the beginning was the word.
And the word was content-type: text/plain.
|
|
FriFra
      
Beiträge: 557
Win XP Prof, Win XP Home,Win Server 2003,Win 98SE,Win 2000,Win NT4,Win 3.11,Suse Linux 7.3 Prof,Suse Linux 8.0 Prof
D2k5 Prof, D7 Prof, D5 Standard, D3 Prof, K3 Prof
|
Verfasst: Di 13.05.03 20:54
so ist es 
|
|
matze 
      
Beiträge: 4613
Erhaltene Danke: 24
XP home, prof
Delphi 2009 Prof,
|
Verfasst: Mi 14.05.03 19:30
klasse !! dann werd ich das mal testen !
_________________ In the beginning was the word.
And the word was content-type: text/plain.
|
|
|