?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using the image for a calendar control and I would like to set the focus
on the image when a condition is met so that I could press Enter to open the
calendar form without using the mouse.
 
Sorry , I , by mistake added a new question instead of replying to the
previous question - Can I set focus to an image?
 
AFAIK, images can't accept focus. That's because you can't update them in
Access.

You may have to settle for a small text box underneath the calendar control.
You can put code in the text box's GotFocus event so that the image is
highlighted somehow, and remove that highlighting in the text box's
LostFocus event.
 
Back
Top