Autor Beitrag
ceding
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 53

Win XP
D 4
BeitragVerfasst: Do 09.06.05 17:20 
tach!!
Ich will ein Spiel Progammieren, das mit den Pfeiltasten gesteuert werden soll.
Mein Problem ich weis nicht die key-Zahlen von den Tasten.
Wenn jemand die Key-Zahlen weiss (auch von den anderen Tasten) dann schreibt sie bitte auf.
Danke!
S.S.Ceding

_________________
Es gibt kein Gott!! Was ist die Seele ?
Maweki
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 197

Ubuntu Linux
Lazarus
BeitragVerfasst: Do 09.06.05 17:23 
die pfeiltasten haben garkeine Zahlen sondern sind beim OnKeyDown virtualKeys (VK_Up, VK_Down, usw...)

fuer den Rest empfehle ich eine Handelsuebliche Zeichentabelle...
ceding Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 53

Win XP
D 4
BeitragVerfasst: Do 09.06.05 17:27 
ach so
und wo find ich die Zeichentabelle

_________________
Es gibt kein Gott!! Was ist die Seele ?
Maweki
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 197

Ubuntu Linux
Lazarus
BeitragVerfasst: Do 09.06.05 17:34 
ceding Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 53

Win XP
D 4
BeitragVerfasst: Do 09.06.05 17:58 
ok aber bei D4 gehen die nich
zumindest ein teil nicht

Moderiert von user profile iconraziel: Beiträge zusammengefasst.

_________________
Es gibt kein Gott!! Was ist die Seele ?
3rdnuss
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 139



BeitragVerfasst: Do 09.06.05 19:49 
In der Delphi-Hilfe gibts die Tastenbezeichnungen.. Ich glaub du musst nach "virtual keycodes" oder so ähnlich suchen.

Gruß Felix
GSE
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 740

Win 2k, Win XP Pro
D5 Prof, D6 Ent, D2k5 PE
BeitragVerfasst: Do 09.06.05 19:55 
Zitat:
die pfeiltasten haben garkeine Zahlen sondern sind beim OnKeyDown virtualKeys (VK_Up, VK_Down, usw...)
stimmt so nicht, jede taste hat eine Zahl. VK_* sind nur Konstanten, die diese Zahlen repräsentieren (für einen besseren und v.a. übersichtlicheren Zugriff).

mfg
GSE

_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs
and the universe trying to produce bigger and better idiots. So far, the universe is winning. (Richard Cook)
Blackheart
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 164

ME
D3Prof.-D6Standard
BeitragVerfasst: Do 09.06.05 20:49 
Tastenname - Hexwert
VK_LEFT 25
VK_UP 26
VK_RIGHT 27
VK_DOWN 28