Sign in Join
FPDoc Onlineexperiment

TCDEdit.UTF8KeyPress procedure

Member of TCDEditprotectedIn unit CustomDrawnControls

Declaration

pascal
procedure UTF8KeyPress(var UTF8Key: TUTF8Char); override

Description

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

Signals the OnUTF8KeyPress event handler (when assigned).

UTF8KeyPress is called from the DoUTF8KeyPress method when the parent form does not have KeyPreview enabled or does not handle the character code in Key. UTF8KeyPress is not called if csNoStdEvents has been included in the ControlStyle property.

The handler routine in OnUTF8KeyPress can modify the value in the Key argument. It sets Key to an empty string ('') if the encoded value is handled in the routine.

See KeyPress for the actions performed for a character value that does not use UTF-8 encoding.

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