Lebans MonthCalendar Does Not Work Properly When Using an Image Button

C

ctaleck

I am using the Lebans MonthCalendar. Instead of using the textbox
double-click event to open the calendar, I would like to use a bitmap
graphic (image control) of a calendar I created. However, there seems
to be a problem where after opening the MonthCalendar form, the window
will not accept any input. I am using Access 97 on Windows XP. Anyone
else experience the same thing?

For now I have resorted to using a command button control, but I hate
the border it produces...
 
S

Stephen Lebans

You cannot setfocus to an Image control and if I remember correctly, the
MonthCalendar positioning logic requries this feature.

TO get around this issue, Create a Trnasparent COmmandButton and overlay on
your Image control.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

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