
VCL: Validating user-input on the fly using TAdvEdit
In a previous video, I introduced and showed hands-on examples of the feature set of TAdvEdit.TAdvEdit does have even more to offer when it comes to supporting the user while entering data. I simply dislike it when I click OK and get an error message that could have been handled before I actually confirmed the dialog. On-the-fly user-input validation is something to be desired and TAdvEdit delivers with ease. You need to implement one more event and are ready to go.
The following video gives yet again an example how to limit user input to even numbers: