tab control with datetimepicker

D

Darin

I have a form that has a tab control, that has about 10 different tab
pages.

On tab page 3 is a datetimepicker. I am reading an SQL database and
setting tdate.text={datefromsql}.

My problem is when I load the page, the datetimepicker displays today's
date if the data is loaded and the particular tab page isn't the focused
tab page. But, if the data is loaded and the tab page with the
datetimepicker is focused, the date is loaded correctly.

I have put some debugging tools and the data is being read correctly,
but right after that I display what the text of the datetimepicker is
and it is blank.

This is VB.NET VS 2005, 2.0 framework.

This worked fine on VB.NET VS2003, 1.1 framework.

Thanks.

Darin
 

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