Sign in Join
FPDoc Onlineexperiment

TCDButton.OnUTF8KeyPress property

Member of TCDButtonpublishedIn unit CustomDrawnControls

Declaration

pascal
property OnUTF8KeyPress:;

Description

Not described here; this is what TWinControl.OnUTF8KeyPress says of it:

Handler for a character entered by the user.

This handler receives characters codes only, not control or other special key codes. Control keys should be handled by an OnKeyDown handler instead. The event handler can also convert the character code into a different value.

While OnKeyPress receives only ANSI characters (with possible loss of characters outside the ANSI codepage), the OnUTF8KeyPress handler receives the UTF-8-encoded character code.

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