RAD Studio VCL Reference
|
Ensures that return characters are not entered into the text when WantReturns is false.
procedure KeyPress(var Key: Char); override;
virtual __fastcall KeyPress(Char Key);
KeyPress is called automatically when the user presses a key. After calling the inherited KeyPress, which calls the OnKeyPress event handler, KeyPress discards return characters when WantReturns is false.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|