datetime picker reset datetime after disable

I

iccsi

I have a very strange datetime picker behivour.

I backup a working version of my application before I continue
developing the app.

I just realized that my DateTimePicker to set now time.
My app is unbound form and assign the value using my recordset.
I just found that it rest after I disable the control.

More interesting thing is the old version is working if I run as
normal.
The old version reset the time also when I use breakpoint to go step
by step.
The control reset the time after disable and it shows the current, but
it works when it runing normally.

The problem is my new application neither normal more, nor breakpoint
working, except I take out disable code.

Are there any property or method to let DateTimePicker keep the valeue
after disable?

any workaround?
Are there any bugs reported for the DateTimePicker?


Your information is great appreciated,
 

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