Using enter key to select date on calendar control

G

Gil, Not the Fish

I use a calendar control.11 to choose dates on many forms. I use the click
event to assign it to a text box. I would like to be able to use the Enter
key to select a date also. I have tried some code with the Before/After
update events and also the KeyDown & KeyPress events but I can't seem to come
up with the right wording. Could someone show me some code that will use the
Enter key to select the date on a Calendar control and assign it to a
textbox. Thanx,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top