qck.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.
Keyboard Flag Table
                                                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Keyboard Flag Table
 
 ■ Forms and controls trap key events using the KeyUp and KeyDown events.
   See: KeyDown Event  KeyUp Event
 
 ■ The table below defines Visual Basic keyboard flag codes used in
   traditional Basic key event-trapping routines. See: ON KEY Statement
 
         Value          Key
         ══════════     ═══════════════════════════════════════════════════
         0              No keyboard flag
         1, 2, or 3     Either Shift key
         4              Ctrl
         8              Alt
         32             Num Lock
         64             Caps Lock
         128            Keys on the 101-key keyboard that are duplicates of
                        keys on smaller keyboards (such as Alt and Del)
         ───────────────────────────────────────────────────────────────────
 
 See: ASCII Character Codes  Keyboard Scan Codes