How can I change the TEdit default error message (NumbersOnly mode)?
问题 How can I change the TEdit's default error message when I use it in NumbersOnly mode. I mean this error: Unacceptable character You can only type a number here Is it possible to change this message ? 回答1: I don't know a direct way to change the value of that message (which is handled by Windows) but you can show your own message and then avoid to show the original windows hint ballon, using the Abort procedure in the OnKeyPress Event. Check this sample procedure TForm1.Edit1KeyPress(Sender: