Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to code a way to bail out of a routine...

Status
Not open for further replies.

colezpapa

Programmer
Feb 26, 2007
86
US
I have a calendar routine, the user simply enters the date off the calendar, however, i need to give them a way to bail out of the sub, so if they press escape nothing is entered into the field. How would I code this?
 
Hello

You need to trap your keys strokes and handle each for what you want to happen when the users presses a certain key.

Regards
Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top