dtpicker control changes position

D

dave

hello
i have one unboudn checkbox and dtpicker control..
i had put code to disable or enable dtpicker control when checkbox turn on
or off accordingly...
but strange thins is when check box is turn on, dtpicker control moves its
position to top left section in form...
it works fine if check box is off...
couldnt understand whats going on
any help would be appreciated...
thanx
dave
 
K

Ken Ismert

Dave,

I've seen that too. I got disgusted enough with dtPicker quirks like
this to try writing my own Access-only version, but that started to
look like too much work.

What I did was: save the original Top and Left values of the dtPicker
in module-level variables in your form. Write a routine that not only
disables or enables your dtPicker, but sets its Top and Left to the
proper values.

Ugly, but hey, it works.

-Ken
 

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