Sign in Join
FPDoc Onlineexperiment

TUTF8KeyPressEvent procedure type

In unit Controls

Specifies an event handler for UTF-8-encoded key press events.

Declaration

pascal
TUTF8KeyPressEvent = procedure(Sender: TObject; var UTF8Key: TUTF8Char)
 of object

Arguments

Sender

TObject for the event notification.

UTF8Key

Value for the UTF-8-encoded character in the key press event.

Description

TUTF8KeyPressEvent is an object procedure type which specifies an event handler for UTF-8-encoded key press events.

TUTF8KeyPressEvent is the type used to implement the OnUTF8KeyPress event handler in TWinControl. Applications must implement an object procedure using the signature for the event handler, and assign it to the property to respond to the event notification.

See also

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