Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TUTF8KeyPressEvent

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

Declaration

Source position: controls.pp line 415

type TUTF8KeyPressEvent = procedure(

  Sender: TObject;

  var UTF8Key: string

) 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.



CT Web help

CodeTyphon Studio