DateTimePicker

  • Thread starter Thread starter Saurabh
  • Start date Start date
S

Saurabh

Hi All,

I want to use the DateTimePicker in my application but there does not seem
to be any way of setting the date to null or the edit portion of the display
to be blank. The checkbox does look crap, Does anybody have any idea about
achieving this?

I also tried having a text control and a button next to it and on the click
of the button, I show the month calender control underneath the edit
control. This proves to be problematic as the calender goes beyond the form
bounds hence does not get painted.

Can anybody help me in this regard,

TIA,

--Saurabh
 
* "Saurabh said:
I want to use the DateTimePicker in my application but there does not seem
to be any way of setting the date to null or the edit portion of the display
to be blank. The checkbox does look crap, Does anybody have any idea about
achieving this?

The checkbox is the preferred way, it's, for example, used in Outlook
Express' message search dialog too.
 
You can download (at least 6 months ago) the component one controls www.componentone.com for free from their website as a MSDN link I think. I use their datetime picker for one of my apps and it works great.

--
Brian P. Hammer
Hi All,

I want to use the DateTimePicker in my application but there does not seem
to be any way of setting the date to null or the edit portion of the display
to be blank. The checkbox does look crap, Does anybody have any idea about
achieving this?

I also tried having a text control and a button next to it and on the click
of the button, I show the month calender control underneath the edit
control. This proves to be problematic as the calender goes beyond the form
bounds hence does not get painted.

Can anybody help me in this regard,

TIA,

--Saurabh
 
I know, it is also used in the properties dialog in outlook where you can
set birthdays or anniverseries for your contacts. It still shows the date
which could be confusing for the users.

The chckbox seems to convey the message : "Here I have selected the date but
please do not use it"
whereas the message I want to convey is : "I do not intend to select a date,
hence i've left the field blank"

If there isn't any way of achieving it, I think i'll have to go down the
route of using edit control and datetimepicker and the cunning hide / show
cobination between these two

Thanks for the help,

--Saurabh
 
Back
Top