HELPFILE - Using Virtual Key Constants

From Liberty BASIC Family
Revision as of 14:22, 14 September 2020 by StPendl (talk | contribs) (Text replacement - "Bug Tracker Categories" to "Bug Tracker")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

The table of the virtual key constants includes typos, is not correctly formatted and includes incorrect information.

In addition a link to the full listing at MSDN should be included.

Example to demonstrate the bug.

Key Constant
F1 through F16 _VK_F1 through _VK_F16
0 through 9 on regular keyboard _VK_0 through _VK_9
0 through 9 on number pad _VK_NUMPAD0 through _VK_NUMPAD9
A(a) through Z(z) _VK_A through _VK_Z
Alt _VK_MENU
Shift _VK_SHIFT
Home _VK_HOME
End _VK_END
Insert _VK_INSERT
Delete _VK_DELETE
NumLock _VK_NUMLOCK
Arrow Up _VK_UP
Arrow Down _VK_DOWN
Arrow Left _VK_LEFT
Arrow Right _VK_RIGHT

Example to resolve the bug.

Key Constant
F1 through F16 _VK_F1 through _VK_F16
0 through 9 on regular keyboard ASC("0") through ASC("9")
0 through 9 on number pad _VK_NUMPAD0 through _VK_NUMPAD9
A(a) through Z(z) ASC("A") through ASC("Z")
Alt _VK_MENU
Shift _VK_SHIFT
Home _VK_HOME
End _VK_END
Insert _VK_INSERT
Delete _VK_DELETE
NumLock _VK_NUMLOCK
Arrow Up _VK_UP
Arrow Down _VK_DOWN
Arrow Left _VK_LEFT
Arrow Right _VK_RIGHT

The full listing is available at MSDN.