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

TUTF8KeyPressEvent

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

Declaration

Source position: controls.pp line 475

type 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

TWinControl.OnUTF8KeyPress

  

Handler for a character entered by the user.


Version 3.2 Generated 2024-02-25 Home