TCustomComboBox.UTF8KeyPress procedure
UTF8KeyPress converts character case if required then calls the
inherited method.Declaration
procedure UTF8KeyPress(var UTF8Key: TUTF8Char); overrideArguments
UTF8Key | UTF-8-encoded character examined in the method. |
Description
UTF8KeyPress is an overridden method, and calls the inherited
method on entry. The inherited method emulates a UTF-8-encoded keypress. The
UTF-8 encoding should be used when there is the possibility that input/output
will occur in any language that requires multiple bytes to represent each
character, i.e. all languages except English.
UTF8KeyPress uses the value in CharCase to determine if the
character case for UTF8Key is converted:
- ecNormalCase
- No conversion is required.
- ecLowerCase
- Calls UTF8LowerCase to convert the value in UTF8Key.
- ecUpperCase
- Calls UTF8UpperCase to convert the value in UTF8Key.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
