Autor Beitrag
>M@steR<
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 288
Erhaltene Danke: 3



BeitragVerfasst: Di 12.04.05 15:49 
Gelöscht


Zuletzt bearbeitet von >M@steR< am Di 17.09.13 00:13, insgesamt 1-mal bearbeitet
fvolk
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 203

Win XP (Home & Pro)
Delphi 2005 Pers
BeitragVerfasst: Di 12.04.05 15:52 
Warum vergleichst du die Items von ListBox1 mit denen von ListBox2? (Mal davon abgesehen, dass das so nicht geht.)

ausblenden Delphi-Quelltext
1:
2:
if Memo1.Text = 'clred' then
  color := clRed;


Mit diesem Code wird das Fenster rot, wenn im Memo (nur) "clred" steht.

_________________
Nichts auf der Welt ist so gerecht verteilt wie der Verstand. Denn jedermann ist überzeugt, dass er genug davon habe.
(René Descartes)
>M@steR< Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 288
Erhaltene Danke: 3



BeitragVerfasst: Di 12.04.05 16:01 
Gelöscht


Zuletzt bearbeitet von >M@steR< am Di 17.09.13 00:14, insgesamt 1-mal bearbeitet
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Di 12.04.05 16:31 
so ne Anmerkung @>M@ster<: nimm eine StringList in WriteFile und kein Memo *schauder* :shock:

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)
>M@steR< Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 288
Erhaltene Danke: 3



BeitragVerfasst: Di 12.04.05 17:02 
Gelöscht


Zuletzt bearbeitet von >M@steR< am Di 17.09.13 00:14, insgesamt 1-mal bearbeitet
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: Di 12.04.05 17:48 
Weil Memos nicht zum Speichern von Text da sind :?

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
>M@steR< Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 288
Erhaltene Danke: 3



BeitragVerfasst: Di 12.04.05 20:36 
Gelöscht


Zuletzt bearbeitet von >M@steR< am Di 17.09.13 00:14, insgesamt 1-mal bearbeitet
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Di 12.04.05 20:43 
Titel: Re: Code
user profile icon&gt;M@steR&lt; hat folgendes geschrieben:
Den Code hab ich aus m Forum und er futzt ja.


natürlich "futzt" er. Weil TMemo.Lines nichts anderes als TStrings ist, also quasi eine StringList. Den "Rest" vom Memo braucht man gar nicht, also StringList nehmen. Man baut ja auch kein Haus, wenn man nur ein Fenster haben will :roll:

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)
JayEff
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2971

Windows Vista Ultimate
D7 Enterprise
BeitragVerfasst: Di 12.04.05 20:50 
es braucht viel mehr speicher und beim erstellen und freigeben mehr rechenpower als TSTringList. dabei funktioniert es fast genauso :D

_________________
>+++[>+++[>++++++++<-]<-]<++++[>++++[>>>+++++++<<<-]<-]<<++
[>++[>++[>>++++<<-]<-]<-]>>>>>++++++++++++++++++.+++++++.>++.-.<<.>>--.<+++++..<+.
>M@steR< Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 288
Erhaltene Danke: 3



BeitragVerfasst: Mi 13.04.05 15:47 
Gelöscht