Autor Beitrag
Sven
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 314


D6 Ent, K3 Pro (patched)
BeitragVerfasst: Sa 12.06.04 15:01 
Hi,

ich benötige die Ascii Scancodes für folgende Tasten: :oops:

Delete, Einfügen, Home, Ende, Cursor Left, Right, Up, Down.

Die 41xx Scancodes, die mir Kylix liefert funktionieren nicht bei SynEdit. Deshlab bebnötige ich die Asciicodes.

_________________
MDK 9.1, Kernel 2.4.21, KDE 3.1 Kylix 3 Pro (patched), nutze aber auch Windows
TomT
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 116

Suse 9.1 WinXP
D6 Pers
BeitragVerfasst: Sa 12.06.04 20:59 
Dies müssten sie sein, hab die Virtual-Keycodes in integer konvertiert.

Home 36
End 35
Links 37
Oben 38
Rechts 39
Unten 40
Einfügen 45
Löschen 46

mfg TomT

_________________
...und da wurde mir klar, dass eine Toolbar keine Kneipe für Heimwerker ist.
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Sa 12.06.04 21:27 
und warum nicht gleich die Konstanten verwenden?, macht die Sache lesbarer, finde ich

Delete=vk_delete, Einfügen=vk_insert, Home=vk_home, Ende=vk_end, Cursor Left=vk_left, ...

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
sCrAPt
Gast
Erhaltene Danke: 1



BeitragVerfasst: Sa 12.06.04 21:36 
In der Delphihilfe unter "Virtuelle Tastencodes" gibts ne schöne große und lange tabelle ;)

user defined image, sCrAPt
TomT
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 116

Suse 9.1 WinXP
D6 Pers
BeitragVerfasst: Sa 12.06.04 21:45 
Er wollte die Codes haben :roll:

_________________
...und da wurde mir klar, dass eine Toolbar keine Kneipe für Heimwerker ist.
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Sa 12.06.04 21:47 
TomT hat folgendes geschrieben:
Er wollte die Codes haben :roll:


was glaubst du denn, was hinter vk_home steht? ;)

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: Sa 12.06.04 21:47 

_________________
Gruß
Hansa
TomT
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 116

Suse 9.1 WinXP
D6 Pers
BeitragVerfasst: So 13.06.04 02:09 
@Keldorn
Das ist mir schon klar was hinter vk_home (etc) steht. Es wurde aber nach Codes => Werten gefragt, nicht nach Konstantenbezeichnungen.
Und ich denke, dass meine Antwort die gestellte Frage abdeckt.

Nix für ungut. :lol:

_________________
...und da wurde mir klar, dass eine Toolbar keine Kneipe für Heimwerker ist.
Sven Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 314


D6 Ent, K3 Pro (patched)
BeitragVerfasst: Di 13.07.04 12:54 
Sorry, das ich mich erst jetzt melde, aber ich hatte das Thema schon als erledigt abgehakt.
Die Werte von TomT sind die gesuchten gewesen. Danke.

Das Problem war das SynEdit, Linux und die VK_ Werte nicht zusammen funktioniert haben.

_________________
MDK 9.1, Kernel 2.4.21, KDE 3.1 Kylix 3 Pro (patched), nutze aber auch Windows
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Do 15.07.04 16:50 
Schreibt doch ein Programm mit folgender TForm.OnKeyDown-Routine:

Label1.Caption:=IntToStr(Key);