G
Gil, Not the Fish
I'm using MSCalendar .11. When I need a date I set a textbox = to a function
in a standard mod which opens a form called PickADate. That sets a global
variable to the value and returns it thru the function. I would like to
select the date on the calendar control using the enter key instead of
having to click on it with the mouse. I've tried putting an OK cmd button
on the form and this works ok but I have to press the enter key twice. Is
there a way to use the enter key directly on the Calendar control to activate
some code? I've experimented using the keypress event and the lostfocus but
I can't get it to work. I'm hoping that there is just some property I need
to set or something.??? Thanx
in a standard mod which opens a form called PickADate. That sets a global
variable to the value and returns it thru the function. I would like to
select the date on the calendar control using the enter key instead of
having to click on it with the mouse. I've tried putting an OK cmd button
on the form and this works ok but I have to press the enter key twice. Is
there a way to use the enter key directly on the Calendar control to activate
some code? I've experimented using the keypress event and the lostfocus but
I can't get it to work. I'm hoping that there is just some property I need
to set or something.??? Thanx