Sign in Join
FPDoc Onlineexperiment

Char2VK function

In unit LCLType

Gets the virtual key code for the specified character value.

Declaration

pascal
function Char2VK(C: char): Word

Arguments

C

Character value examined in the routine.

Function result

Virtual key code for the specified value.

Description

The return value is 0 (zero) if the character in C is not an alphanumeric character in the ranges '0'..'9', 'a'..'z', or 'A'..'Z'.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.