set a datetimepicker.value to nothing?

  • Thread starter Thread starter Maria
  • Start date Start date
M

Maria

I've tried to search for a way to set a datetimepicker.value to nothing. I
would like it to display nothing until the user select a value.. I know you
can use a checkbox to disable the control - but I would like it to display
nothing instead..

Is this possible?
 
Maria said:
I've tried to search for a way to set a datetimepicker.value to nothing.
I
would like it to display nothing until the user select a value.. I know
you
can use a checkbox to disable the control - but I would like it to display
nothing instead..


That's not supported by the standard datetimepicker control. Utilizing the
datetimepicker's checkbox is the preferred way. For example, Outlook
Express uses datetimepickers with checkboxes in its search dialog. I
remember that I have read reports that the datetimerpicker's checkbox is
"buggy", so take care when using it.
 
Herfried,

I remember that I have read reports that the datetimerpicker's checkbox is
"buggy", so take care when using it.
Where because all I have seen in this newsgroup where in my opininion not
based on bugs however wrong use.

Cor
 
Cor,

Cor Ligthert said:
Where because all I have seen in this newsgroup where in my opininion not
based on bugs however wrong use.

I doubt that. Under some circumstances, the checkbox is shown in checked
state, but the 'Checked' property returns 'False', which is obviously a bug.
 
OK - I think I have to buy a datetimepicker with this functionality then..

Thanks!!

Maria
 

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

Back
Top