Enabling/Disabling mscomctl2.dtpicker.2 problem

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