?

  • 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.
 

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

Back
Top