procedure KeyPress(var Key: Char); override;
This is KeyPress, a member of class TCustomSpinSyntaxEdit.
TCustomSpinSyntaxEdit Methods