Howto cancel an ongoing TEdit change event

I have a TEdit control that is supposed to only contain numbers, but when I press a letter, it still gets into the control.
I have tried using Abort(), to rise a silent EAbort exception and cancel the commit, but after calling the function the letter still gets into the control.
What can I do to cancel that letter insertion?
I'm using CBuilder6.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!