Quote Originally Posted by 2710 View Post
Come again? Sorry, I don't understand what you mean, laymen terms please >__>
You can use the same event code for multiple controls. The "Sender" parameter is a pointer to the control that triggered the event.

If you have a OnKeyPress event for numbers, you can reuse the event for all TEdit controls that accept numbers.

I would also look into TMaskEdit and JEDI's TJvDBSpinEdit which handles validation for you.

__________________
Watch Repo Men Online Free