pendragon Posted September 9, 2004 Posted September 9, 2004 Hi I have a usercontrol that asks for a date, in the control I have a Leave event defined that checks to see if a valid date has been entered and if not then show a message and go back to the control. I need to use this to enter a date and check to make sure it is in a date range, if not tell them it is invalid and ask the date again. I can do this by using the leave event in the new program. My problem is the order that it executes the two leave events, at the moment it does the one in the program and then the one in the user control, what I need is for it to check if it is a vaild date (the user control leave event) and then check to see if it is within the date range (the programs leave event) Can anyone tell me how to do this Thanks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.