Create a calendar pop-up form

J

jamesker

I have a continuous form with a date field in it. beside the date
field, i've made a command button that when pressed, displays a
calendar form which allows users to choose a date, once a date is
chosen, the calendar form closes and the value chosen gets transfered
into the date field.

I want to make it so that the calendar form always appears next to the
button when pressed, right now it just pops up in the middle of the
screen each time. I'm not sure if there's some sort of way to write a
VB code that can read the position of the button that's just been
pressed and then relay that information to the calendar form and use
it to set it's position?! if anyone has any thoughts on how to do this
then please let me know. thanks.
 

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