Autor Beitrag
Dhakiyah
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 327
Erhaltene Danke: 5

Windows 7
Delphi XE2
BeitragVerfasst: Mo 29.06.09 10:04 
Hallo!
Gibt es irgendwo eine Liste über die Keys?
#9 ist ja zum Beispiel Tab-Taste.

LG
Jasmin

_________________
Es ist soooo flauschig !!!
zuma
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 660
Erhaltene Danke: 21

Win XP, Win7, Win 8
D7 Enterprise, Delphi XE, Interbase (5 - XE)
BeitragVerfasst: Mo 29.06.09 10:13 

_________________
Ich habe nichts gegen Fremde. Aber diese Fremden sind nicht von hier! (Methusalix)
Warum sich Sorgen ums Leben machen? Keiner überlebts!
Bergmann89
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1742
Erhaltene Danke: 72

Win7 x64, Ubuntu 11.10
Delphi 7 Personal, Lazarus/FPC 2.2.4, C, C++, C# (Visual Studio 2010), PHP, Java (Netbeans, Eclipse)
BeitragVerfasst: Mo 29.06.09 10:16 
Hey,

die stehen normalerweiße in der Hilfe unter Tastencodes:

ausblenden volle Höhe Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
Key_Escape  Taste Esc
Key_Tab  Taste Tab
Key_Backtab, Key_BackTab  Taste Rücktab
Key_Backspace, Key_BackSpace  Taste Rück
Key_Return  Taste Return
Key_Enter  Taste Enter
Key_Insert  Taste Einfg
Key_Delete  Taste Entf
Key_Pause  Taste Pause
Key_Print  Taste Druck
Key_SysReq  Taste S-Abf
Key_Home  Taste Pos1
Key_End  Taste Ende
Key_Left  Taste Links
Key_Up  Taste Oben
Key_Right  Taste Rechts
Key_Down  Taste Unten
Key_Prior   Taste Vor
Key_PageUp  Taste Bild auf

Key_Next  Taste Nächster
Key_PageDown   Taste Bild ab
Key_Shift  Taste Umschalt
Key_Control  Taste Strg
Key_Meta  Taste Meta (oft mit der Taste Alt identisch)
Key_Alt  Taste Alt
Key_CapsLock  Taste CapsLock
Key_NumLock  Taste NumLock
Key_ScrollLock  Taste ScrollLock
Key_F1  Taste F15
Key_F2  Taste F2
Key_F3  Taste F3
Key_F4  Taste F4
Key_F5  Taste F5
Key_F6  Taste F6
Key_F7  Taste F7
Key_F8  Taste F8
Key_F9  Taste F9
Key_F10  Taste F10

Key_F11  Taste F11
Key_F12  Taste F12
Key_F13  Taste F13
Key_F14  Taste F14
Key_F15  Taste F15
Key_F16  Taste F16
Key_F17  Taste F17
Key_F18  Taste F18
Key_F19  Taste F19
Key_F20  Taste F20
Key_F21  Taste F21
Key_F22  Taste F22
Key_F23  Taste F23
Key_F24  Taste F24
Key_F25  Taste F25
Key_F26  Taste F26
Key_F27  Taste F27
Key_F28  Taste F28
Key_F29  Taste F29
Key_F30  Taste F30
Key_F31  Taste F31
Key_F32  Taste F32
Key_F33  Taste F33
Key_F34  Taste F34

Key_F35  Taste F35
Key_Super_L  Taste Super_L
Key_Super_R  Taste Super_R
Key_Menu  Taste Menü
Key_Hyper_L  Taste Hyper_L
Key_Hyper_R  Taste Hyper_R
Key_Help  Taste Hilfe
Key_Space, Key_Any  Taste Leer
Key_Exclam  Taste Ausrufezeichen (!)
Key_QuoteDbl  Taste Doppelte Anführungszeichen (")
Key_NumberSign  Taste Nummernzeichen (#)
Key_Dollar  Taste Dollar-Zeichen ($)
Key_Percent  Taste Prozent (%)
Key_Ampersand  Taste Ampersand (&)
Key_Apostrophe  Taste Apostroph (‘)

Key_ParenLeft  Taste Linke Klammer (
Key_ParenRight  Taste Rechte Klammer )
Key_Asterisk  Taste Stern (*)
Key_Plus  Taste Plus (+)
Key_Comma  Taste Komma (,)
Key_Minus  Taste Minuszeichen (-)
Key_Period  Taste Punkt (.)
Key_Slash  Taste Schrägstrich (/)
Key_0  Taste 0 (numerischer Tastaturblock)
Key_1  Taste 1 (numerischer Tastaturblock)
Key_2  Taste 2 (numerischer Tastaturblock)
Key_3  Taste 3 (numerischer Tastaturblock)
Key_4  Taste 4 (numerischer Tastaturblock)

Key_5  Taste 5 (numerischer Tastaturblock)
Key_6  Taste 6 (numerischer Tastaturblock)
Key_7  Taste 7 (numerischer Tastaturblock)
Key_8  Taste 8 (numerischer Tastaturblock)
Key_9  Taste 9 (numerischer Tastaturblock)
Key_Colon  Taste Doppelpunkt (:)
Key_Semicolon  Taste Semicolon (;)
Key_Less  Taste Kleiner als (<)
Key_Equal  Taste Gleichheitszeichen (=)
Key_Greater  Taste Größer als (>)
Key_Question  Taste Fragezeichen (?)
Key_At  Taste At @
Key_A  Taste A
Key_B  Taste B

Key_C  Taste C
Key_D  Taste D
Key_E  Taste E
Key_F  Taste F
Key_G  Taste G
Key_H  Taste H
Key_I  Taste I
Key_J  Taste J
Key_K  Taste K
Key_L  Taste L
Key_M  Taste M
Key_N  Taste N
Key_O  Taste O
Key_P  Taste P
Key_Q  Taste Q
Key_R  Taste R
Key_S  Taste S
Key_T  Taste T
Key_U  Taste U
Key_V  Taste V
Key_W  Taste W
Key_X  Taste X
Key_Y  Taste Y
Key_Z  Taste Z
Key_BracketLeft  Taste Linke eckige Klammer ([)
Key_Backslash  Taste Backslash (\)
Key_BracketRight  Taste Rechte eckige Klammer (])

Key_AsciiCircum  Taste Zirkumflex (^)
Key_Underscore  Taste Unterstrich (_)
Key_QuoteLeft  Taste Linkes Anführungszeichen (`)
Key_BraceLeft  Taste Linke geschweifte Klammer ({)
Key_Bar  Taste Strich (|)
Key_BraceRight  Taste Rechte geschweifte Klammer (})
Key_AsciiTilde  Taste Tilde (~)
Key_nobreakspace  Taste Geschütztes Leerzeichen ( )
Key_exclamdown  Taste Umgedrehtes Ausrufezeichen (¡)
Key_cent  Taste Cent (¢)
Key_sterling  Taste Pfund-Sterling (£)
Key_currency  Taste Währung (¤)

Key_yen  Taste Yen (¥)
Key_brokenbar  Taste Durchbrochener Strich (¦)
Key_section  Taste Paragraph (§)
Key_diaeresis  Taste Diärese (¨)
Key_copyright  Taste Copyright (©) 
Key_ordfeminine  Taste Weiblich-Zeichen (ª)
Key_guillemotleft  Taste Linke spitze Anführungszeichen («)
Key_notsign  Taste Nicht-Zeichen (¬)
Key_hyphen  Taste Bindestrich (­)
Key_registered  Taste Registriert (®) 
Key_macron  Taste Macron (¯)
Key_degree  Taste Grad (°)

Key_plusminus  Taste Plus-Minus-Zeichen (±)
Key_twosuperior  Taste Hochgestellte Zwei (²)
Key_threesuperior  Taste Hochgestellte Drei (³)
Key_acute  Taste Acute (´)
Key_mu  Taste Mi (µ)
Key_paragraph  Taste Absatzzeichen(¶)
Key_periodcentered  Taste Zentrierter Punkt (·)
Key_cedilla  Taste Cedille (¸)
Key_onesuperior  Taste Hochgestellte Eins (¹)
Key_masculine  Taste Männlich-Zeichen (º)
Key_guillemotright  Taste Rechte spitze Anführungszeichen (»)
Key_onequarter  Taste Einviertel (¼)

Key_onehalf  Taste Einhalb (½)
Key_threequarters  Taste Dreiviertel (¾)
Key_questiondown  Taste Umgedrehtes Fragezeichen (¿)
Key_Agrave  Taste A Grave (À)
Key_Aacute  Taste A Acute (Á)
Key_Acircumflex  Taste A Zirkumflex (Â)
Key_Atilde  Taste A Tilde (Ã)
Key_Adiaeresis  Taste A Diärese (Ä)
Key_Aring  Taste A Kreis (Å)
Key_AE  Taste AE (Æ)
Key_Ccedilla  Taste C Cedille (Ç)
Key_Egrave  Taste E Grave (È)
Key_Eacute  Taste E Acute (É)

Key_Ecircumflex  Taste E Zirkumflex (Ê)
Key_Ediaeresis  Taste E Diärese (Ë)
Key_Igrave  Taste I Grave (Ì)
Key_Iacute  Taste I Acute (Í)
Key_Icircumflex  Taste I Zirkumflex (Î)
Key_Idiaeresis  Taste I Diärese (Ï)
Key_ETH  Taste ETH (Ð)
Key_Ntilde  Taste N Tilde (Ñ)
Key_Ograve  Taste O Grave (Ò)
Key_Oacute  Taste O Acute (Ó)
Key_Ocircumflex  Taste O Zirkumflex (Ô)
Key_Otilde  Taste O Tilde (Õ)
Key_Odiaeresis  Taste O Diärese (Ö)
Key_multiply  Taste Multiplizieren (×)

Key_Ooblique  Taste O Schrägstrich (Ø)
Key_Ugrave  Taste U Grave (Ù)
Key_Uacute  Taste U Acute (Ú)
Key_Ucircumflex  Taste U Zirkumflex (Û)
Key_Udiaeresis  Taste U Diärese (Ü)
Key_Yacute  Taste Y Acute (Ý)
Key_ssharp  Taste Scharfes S (ß)
Key_agrave  Taste a Grave (à)
Key_aacute  Taste a Acute (á)
Key_acircumflex  Taste a Zirkumflex (â)
Key_atilde  Taste a Tilde (ã)
Key_adiaeresis  Taste a Diärese (ä)
Key_aring  Taste a Kreis (å)
Key_ae  Taste Ae (æ)
Key_ccedilla  Taste c Cedille (ç)

Key_egrave  Taste e Grave (è)
Key_eacute  Taste e Acute (é)
Key_ecircumflex  Taste e Zirkumflex (ê)
Key_ediaeresis  Taste e Diärese (ë)
Key_igrave  Taste i Grave (ì)
Key_iacute  Taste i Acute (í)
Key_icircumflex  Taste i Zirkumflex (î)
Key_idiaeresis  Taste i Diärese (ï)
Key_eth  Taste eth (ð)
Key_ntilde  Taste n Tilde (ñ)
Key_ograve  Taste o Grave (ò)
Key_oacute  Taste o Acute (ó)
Key_ocircumflex  Taste o Zirkumflex (ô)
Key_otilde  Taste o Tilde (õ)
Key_odiaeresis  Taste o Diärese (ö)

Key_division  Taste Divisionszeichen (÷)
Key_oslash  Taste o Schrägstrich (ø)
Key_ugrave  Taste u Grave (ù)
Key_uacute  Taste u Acute (ú)
Key_ucircumflex  Taste u Zirkumflex (û)
Key_udiaeresis  Taste u Diärese (ü)
Key_yacute  Taste y Acute (ý)
Key_thorn  Taste Thorn (þ)
Key_ydiaeresis  Taste y Diärese (ÿ)
Key_unknown  Taste Unbekannt


MfG Bergmann.[code]

_________________
Ich weiß nicht viel, lern aber dafür umso schneller^^
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: Mo 29.06.09 10:31 
Google mal nach ASCII Tabelle.

_________________
PROGRAMMER: A device for converting coffee into software.
Dhakiyah Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 327
Erhaltene Danke: 5

Windows 7
Delphi XE2
BeitragVerfasst: Mo 29.06.09 10:43 
Da steht:
VK_CLEAR $0C Löschtaste
VK_RETURN $0D RETURN Taste

Wie gebe ich das in Delphi ein? #D geht ja nicht...

Und VK_Return nimmt er auch nicht an...

_________________
Es ist soooo flauschig !!!
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: Mo 29.06.09 10:58 
VK_RETURN müsste aber gehen..?
Code + Fehlermeldung?

Ansonsten eben so wie es da steht: $0C bzw. #$0C

_________________
PROGRAMMER: A device for converting coffee into software.
Dhakiyah Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 327
Erhaltene Danke: 5

Windows 7
Delphi XE2
BeitragVerfasst: Mo 29.06.09 11:28 
Bei VK_RETURN
[DCC Fehler] Unit1.pas(49): E2010 Inkompatible Typen: 'string' und 'Integer'

Wenn ich #$0D eingebe kommt nur ein viereck statt einem Return...

LG
Jasmin

_________________
Es ist soooo flauschig !!!
Krischa
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 118

Windows 7 64 Bit
Delphi 2007
BeitragVerfasst: Mo 29.06.09 11:33 
Das Viereck steht für das Return. Manche Komponenten stellen das auf diese Weise dar.
Nersgatt
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1581
Erhaltene Danke: 279


Delphi 10 Seattle Prof.
BeitragVerfasst: Mo 29.06.09 11:34 
Du willst also einen Zeilenumbruch in einen String einfügen?
Dann mach es so:

ausblenden Delphi-Quelltext
1:
string := '1. Zeile' + #13#10 + '2. Zeile';					


Gruß,
Jens

_________________
Gruß, Jens
Zuerst ignorieren sie dich, dann lachen sie über dich, dann bekämpfen sie dich und dann gewinnst du. (Mahatma Gandhi)
Krischa
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 118

Windows 7 64 Bit
Delphi 2007
BeitragVerfasst: Mo 29.06.09 11:36 
Achso es gibt da noch eine Möglichkeit: s := 'text'+slinebreak+'text2'; Das slinebreak steht auch für einen Zeileinumbruch.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19312
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 29.06.09 13:06 
Das Plus ist nicht einmal nötig:
ausblenden Delphi-Quelltext
1:
LabelX.Caption := 'Zeile 1'#13#10'Zeile 2';					
und der Vollständigkeit halber auch nen Link zu ner Asciitabelle (die man wie oben schon gesagt wurde natürlich auch leicht mit Bing oder so findet):
www.torsten-horn.de/techdocs/ascii.htm
Bergmann89
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1742
Erhaltene Danke: 72

Win7 x64, Ubuntu 11.10
Delphi 7 Personal, Lazarus/FPC 2.2.4, C, C++, C# (Visual Studio 2010), PHP, Java (Netbeans, Eclipse)
BeitragVerfasst: Mo 29.06.09 16:23 
Hey,

du kannst das 'D' ja auch vorher mit nem Taschenrechner umrechnen (D=13).

user profile iconjaenicke hat folgendes geschrieben Zum zitierten Posting springen:
ausblenden Delphi-Quelltext
1:
LabelX.Caption := 'Zeile 1'#13#10'Zeile 2';					
[/url]

was genau macht eig die #10? weil chr(13) geht ja aber #13 nicht?!

MfG Bergmann.

_________________
Ich weiß nicht viel, lern aber dafür umso schneller^^
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19312
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 29.06.09 16:25 
user profile iconBergmann89 hat folgendes geschrieben Zum zitierten Posting springen:
was genau macht eig die #10? weil chr(13) geht ja aber #13 nicht?!
Das ist nur nen kleiner Bug im Syntaxhighlighter im Forum, wenn du das meinst. ;-)

Umrechnen klar, es geht auch so: :mrgreen:
ausblenden Delphi-Quelltext
1:
LabelX.Caption := 'Zeile 1'#$D#$A'Zeile 2';					
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Mo 29.06.09 16:30 
und wenn du wissen willst warum #13#10 eingegeben werde muss: de.wikipedia.org/wiki/Zeilenvorschub

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19312
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 29.06.09 16:33 
Du meinst wohl eher diese Tabelle hier:
de.wikipedia.org/wiki/Zeilenumbruch
Da stehen die entsprechenden Zeichen für die verschiedenen Betriebssysteme. :D
Bergmann89
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1742
Erhaltene Danke: 72

Win7 x64, Ubuntu 11.10
Delphi 7 Personal, Lazarus/FPC 2.2.4, C, C++, C# (Visual Studio 2010), PHP, Java (Netbeans, Eclipse)
BeitragVerfasst: Mi 01.07.09 00:01 
Hey,

user profile iconjaenicke hat folgendes geschrieben Zum zitierten Posting springen:
user profile iconBergmann89 hat folgendes geschrieben Zum zitierten Posting springen:
was genau macht eig die #10? weil chr(13) geht ja aber #13 nicht?!
Das ist nur nen kleiner Bug im Syntaxhighlighter im Forum, wenn du das meinst. ;-)


ne ich mein wenn ich chr(13) schreibm, dann macht er n Zeilenumbruch, aber wenn ich #13 schreib dann nicht, da muss ich dann die #10 ran hängen und da wollt ich ma fragen was genau #10 da eig. macht? Bzw. warum das da mit hin muss...

MfG Bergmann.

_________________
Ich weiß nicht viel, lern aber dafür umso schneller^^
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19312
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mi 01.07.09 07:30 
Das ist eigentlich das gleiche, also #13 und Chr(13). Beides ist nur der halbe Zeilenumbruch. Der besteht (siehe Link) unter Windows nun einmal aus den beiden Zeichen 13 und 10.
alzaimar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2889
Erhaltene Danke: 13

W2000, XP
D6E, BDS2006A, DevExpress
BeitragVerfasst: Mi 01.07.09 07:33 
Das stammt aus den Anfangszeiten der IT, als Ausgaben noch auf einem Fernschreiber ausgedruckt wurden. #13 steht dabei für den 'Wagenrücklauf', sodaß die nächste Druckposition wieder ganz links ist. Dabei würde die aktuelle Zeile überschrieben werden. Um das zu vermeiden, gibt es den 'Zeilenvorschub', #10, damit der Wagen das Papier um eine Zeile nach vorne schiebt.

_________________
Na denn, dann. Bis dann, denn.
Bergmann89
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1742
Erhaltene Danke: 72

Win7 x64, Ubuntu 11.10
Delphi 7 Personal, Lazarus/FPC 2.2.4, C, C++, C# (Visual Studio 2010), PHP, Java (Netbeans, Eclipse)
BeitragVerfasst: Do 02.07.09 16:44 
ah alles klar, danke^^

_________________
Ich weiß nicht viel, lern aber dafür umso schneller^^