[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TCustomComboBox.UTF8KeyPress

UTF8KeyPress converts character case if required then calls the inherited method.

Declaration

Source position: stdctrls.pp line 388

protected procedure TCustomComboBox.UTF8KeyPress(

  var UTF8Key: TUTF8Char

); override;

Arguments

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

TCustomComboBox.CharCase

  

Indicates the case conversion applied to the value entered in the edit box for the control.

UTF8LowerCase

UTF8UpperCase

TWinControl.UTF8KeyPress

  

Signals the OnUTF8KeyPress event handler (when assigned).


Version 3.2 Generated 2024-02-25 Home