Calender Control 9 popup out of position
am 26.11.2007 01:49:43 von DougHi,
How do I get a Calender Control popup to appear near the button which
activated it, rather than on the other side of the screen?
(MS Access 2000)
Hi,
How do I get a Calender Control popup to appear near the button which
activated it, rather than on the other side of the screen?
(MS Access 2000)
Doug@NoEmail.com wrote:
>How do I get a Calender Control popup to appear near the button which
>activated it, rather than on the other side of the screen?
Is this an OCX control or a calender form? If an OCX control then I have no idea.
Furthermore we discourage their use given the versioning and distribution problems.
See the Calendar Tips page at my website
http://www.granite.ab.ca/access/calendars.htm
If a calendar form then you could pass the name of the form and the date control to
the form. Then the calendar form could look at the main form date control left,
height, top and width properties and then position itself accordingly. Note that you
will need to handle the situation where the control is near the edge of the form and
position itself to above and/or to the left or right as appropriate.
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/