qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Extended Keyboard Codes
  ◄Useful Tables► ◄Contents► ◄Index►                      ◄Help on Help►
 
  To read keyboard information, cut this constant declaration and paste
  it into programs that use the ReadKey function.
 
  CONST
 
    UpArrow   = #72;  DownArrow  = #80;
    LeftArrow = #75;  RightArrow = #77;
    PgUp      = #73;  PgDn       = #81;
    HomeKey   = #71;  EndKey     = #79;
    Ins       = #82;  Del        = #83;
 
    Ctrl_PrtSc     = #114;
    Ctrl_LeftArrow = #115;  Ctrl_RightArrow  = #116;
    Ctrl_PgUp      = #132;  Ctrl_PgDn        = #118;
    Ctrl_Home      = #119;  Ctrl_End         = #117;
 
    NullKey = #3;  Sh_Tab = #15;
 
 
    { alt- letter keys }
 
    Alt_A = #30;  Alt_B = #48;  Alt_C = #46;  Alt_D = #32;  Alt_E = #18;
    Alt_F = #33;  Alt_G = #34;  Alt_H = #35;  Alt_I = #23;  Alt_J = #36;
    Alt_K = #37;  Alt_L = #38;  Alt_M = #50;  Alt_N = #49;  Alt_O = #24;
    Alt_P = #25;  Alt_Q = #16;  Alt_R = #19;  Alt_S = #31;  Alt_T = #20;
    Alt_U = #22;  Alt_V = #47;  Alt_W = #17;  Alt_X = #45;  Alt_Y = #21;
    Alt_Z = #44;
 
 
    { alt- number keys }
 
    Alt_1 = #120;  Alt_2 = #121; Alt_3 = #122;  Alt_4 = #123;
    Alt_5 = #124;  Alt_6 = #125; Alt_7 = #126;  Alt_8 = #127;
    Alt_9 = #128;  Alt_0 = #129;
 
    Alt_minus = #130;  Alt_equals  = #131;
 
    { function keys }
 
    F1 = #59;  F2 = #60;  F3 = #61;  F4 = #62;  F5  = #63;
    F6 = #64;  F7 = #65;  F8 = #66;  F9 = #67;  F10 = #68;
 
 
    { shift- function keys }
 
    Sh_F1 = #84;  Sh_F2 = #85;  Sh_F3 = #86;  Sh_F4 = #87;  Sh_F5  = #88;
    Sh_F6 = #89;  Sh_F7 = #90;  Sh_F8 = #91;  Sh_F9 = #92;  Sh_F10 = #93;
 
 
    { ctrl- function keys }
 
    Ctrl_F1 =  #94;  Ctrl_F2  =  #95;  Ctrl_F3 =  #96;  Ctrl_F4 = #97;
    Ctrl_F5 =  #98;  Ctrl_F6  =  #99;  Ctrl_F7 = #100;  Ctrl_F8 = #101;
    Ctrl_F9 = #102;  Ctrl_F10 = #103;
 
 
    { alt- function keys }
 
    Alt_F1 = #104;  Alt_F2  = #105;  Alt_F3 = #106;  Alt_F4 = #107;
    Alt_F5 = #108;  Alt_F6  = #109;  Alt_F7 = #110;  Alt_F8 = #111;
    Alt_F9 = #112;  Alt_F10 = #113;
 
 
    { extended function keys }
 
    F11      = #133;       F12      = #134;
    Sh_F11   = #135;       Sh_F12   = #136;
    Ctrl_F11 = #137;       Ctrl_F12 = #138;
    Alt_F11  = #139;       Alt_F12  = #140;