Her er alle konstanterne, som defineret I Delphi. Hvis du vil have en liste over resten af værdierne skal du bare sige til..
{ Virtual Keys, Standard Set }
VK_BACK = 8; //backspace
VK_TAB = 9; //tab
VK_RETURN = 13; //enter
VK_SHIFT = $10; //shift (16)
VK_CONTROL = 17; //ctrl
VK_MENU = 18; //alt
VK_PAUSE = 19; //pause
VK_CAPITAL = 20; //shift eller caps lock
VK_ESCAPE = 27; //escape
VK_SPACE = $20; //space (32)
VK_PRIOR = 33; //page up
VK_NEXT = 34; //page down
VK_END = 35;//end
VK_HOME = 36;//home
VK_LEFT = 37;//left arrow
VK_UP = 38; //up
VK_RIGHT = 39;//right
VK_DOWN = 40;//down
VK_INSERT = 45; //insert
VK_DELETE = 46;//delete
{ VK_0 thru VK_9 are the same as ASCII '0' thru '9' ($30 - $39) }
{ VK_A thru VK_Z are the same as ASCII 'A' thru 'Z' ($41 - $5A) }
VK_LWIN = 91; //venstre windows tast
VK_RWIN = 92; //højre
VK_APPS = 93; //windows knappen
{numpad tal}
VK_NUMPAD0 = 96;
VK_NUMPAD1 = 97;
VK_NUMPAD2 = 98;
VK_NUMPAD3 = 99;
VK_NUMPAD4 = 100;
VK_NUMPAD5 = 101;
VK_NUMPAD6 = 102;
VK_NUMPAD7 = 103;
VK_NUMPAD8 = 104;
VK_NUMPAD9 = 105;
VK_MULTIPLY = 106;
VK_ADD = 107; //+
VK_SEPARATOR = 108; //*
VK_SUBTRACT = 109; //-
VK_DECIMAL = 110; //,
VK_DIVIDE = 111;// /
{F1-24 tasterne}
VK_F1 = 112;
VK_F2 = 113;
VK_F3 = 114;
VK_F4 = 115;
VK_F5 = 116;
VK_F6 = 117;
VK_F7 = 118;
VK_F8 = 119;
VK_F9 = 120;
VK_F10 = 121;
VK_F11 = 122;
VK_F12 = 123;
VK_F13 = 124;
VK_F14 = 125;
VK_F15 = 126;
VK_F16 = 127;
VK_F17 = 128;
VK_F18 = 129;
VK_F19 = 130;
VK_F20 = 131;
VK_F21 = 132;
VK_F22 = 133;
VK_F23 = 134;
VK_F24 = 135;
VK_NUMLOCK = 144; //num lock
VK_SCROLL = 145; //scroll lock
Mvh,
Thomas Nielsen