Enabling/Disabling mscomctl2.dtpicker.2 problem

G

Guest

I have two dtpicker fields on my form and am using a check box to enable and
disable them using the following code...

Private Sub chkDates_Click()
datStartDate.Enabled = chkDates
datEndDate.Enabled = chkDates
End Sub

When I enable the fields by clicking the check box the field jumps to the
upper left corner of the form. I white space is left where the fields were.
When I click the check box and disable the fields they go back to thier
proper location. I've tried coding the dtpicker location but it doesn't help.
Is there anyone familiar with this problem who can help me?
 

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