Autor Beitrag
V!P3R
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 151



BeitragVerfasst: Sa 20.10.07 14:09 
hi,

Frage:
Gibt es einen Befehl für Enter?


Bsp:

ausblenden Delphi-Quelltext
1:
2:
3:
Memo.selText:=' ';
//mit diesem Befehl sagt man das der Text im Feld Memo + ' ' ist (also plus leertaste)
//kann man sowas auch mit der Entertaste machen? weil:


ausblenden Delphi-Quelltext
1:
2:
3:
Memo.selText:='
'
;
//geht leider nich , wegen unerlaubtem zeilenumbruch


Gibt es einen Befehl für Enter?
Wenn ja, wie lautet der?


MfG
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Sa 20.10.07 14:13 
Probier es mal mit #13#10! ;)
Meines Wissens nach steht #13 für das Ende der Zeile und #10 für den Beginn einer neuen.

grüße,
Marc


Zuletzt bearbeitet von Marc. am Sa 20.10.07 14:22, insgesamt 4-mal bearbeitet
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Sa 20.10.07 14:13 
Wie wärs mit Memo1.Lines.Add('');?
Das fügt einfach ne Leerzeile hinzu.

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
V!P3R Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 151



BeitragVerfasst: Sa 20.10.07 14:23 
Titel: danke
Danke,

Wo stehn den die ganzen Bezeichnungen der Taste??

Gibts da ne liste?


MfG
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Sa 20.10.07 14:26 
Eine ASCII-Tabelle findest du unter anderem bei Wikipedia. ;)

grüße,
Marc