Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date and Time Picker not in correct position on Form 1

Status
Not open for further replies.

FoxProProgrammer

Programmer
Apr 26, 2002
967
US
Hi,

My form has a Microsoft Date and Time Picker control on it. The control is initially disabled and is enabled when a specific option button is selected. As soon as the option button is selected that enables the Date Picker, the date appears in the upper left corner of the form instead of below the field like normal.

Any idea why this is happening?

Thanks,

dz
 
Hey, Remou...thanks for the alternate control. I saved it for future use, but it doesn't suit my needs for the form that I'm working on. The form is too small compared to the size of the control that pops up.

I narrowed the problem down to when the Date Picker is enabled. That's when it moves to the upper left corner of the form. I tried the Visible Property, and it works. I'm going to redesign my form to use the Visible Property, but I'd appreciate any suggestions from anyone about why the Enabled Property causes this weird behavior.

Thanks,


dz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top