dtpicker control changes position

  • Thread starter Thread starter dave
  • Start date Start date
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
 
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
 
Back
Top