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
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