Page 1 of 1

Date format property for DatePicker

Posted: Sat Jan 09, 2010 3:59 pm
by sudip
Hello Master Roberto,

I have a very minor wish. Is it possible to add date format property of DatePicker control?
May be there is another way to do it. So, please correct me if I am wrong :).

Thanks in advance.

With best regards.

Sudip

Re: Date format property for DatePicker

Posted: Sat Jan 09, 2010 4:06 pm
by Rathinagiri
set date command is not working?

Re: Date format property for DatePicker

Posted: Sat Jan 09, 2010 4:14 pm
by sudip
rathinagiri wrote:set date command is not working?
I put set date command in the start up of my app. It works for textbox with date type, but in my client's computer I found date picker control showing date in m / d / y format. I changed date format from Regional control of control panel. Date picker format didn't change. Funny thing is that it's working fine in my laptop ;)

With best regards.

Sudip

Re: Date format property for DatePicker

Posted: Sat Jan 09, 2010 5:57 pm
by Rathinagiri
Had you restarted the system?

Re: Date format property for DatePicker

Posted: Sat Jan 09, 2010 6:31 pm
by sudip
rathinagiri wrote:Had you restarted the system?
Most probably yes. But, I shall confirm when I shall visit there in next week :)

Re: Date format property for DatePicker

Posted: Sun Jan 10, 2010 5:36 pm
by Roberto Lopez
sudip wrote:Hello Master Roberto,

I have a very minor wish. Is it possible to add date format property of DatePicker control?
May be there is another way to do it. So, please correct me if I am wrong :).

Thanks in advance.

With best regards.

Sudip
Datepicker is based on a Windows control (datetimepicker).

It works automatically according control panel's regional settings.

I'm not sure if that behavior could be changed. It should be researched.

Re: Date format property for DatePicker

Posted: Sun Jan 10, 2010 8:39 pm
by Roberto Lopez
Roberto Lopez wrote: I'm not sure if that behavior could be changed. It should be researched.
I've already researched :)

Yes. It can be done.

It is in my TODO list.

Re: Date format property for DatePicker

Posted: Mon Jan 11, 2010 4:09 am
by Rathinagiri
Roberto Lopez wrote:
Roberto Lopez wrote: I'm not sure if that behavior could be changed. It should be researched.
I've already researched :)

Yes. It can be done.

It is in my TODO list.
Nice :)

The problem in date picker is, once you start typing the date, the cursor won't move to the next sub-control (for example month to day, day to year). If we want to type "12-01-2000", we have to type 12, then right arrow, then type 01 then right arrow, then 2000.

Therefore, I prefer date text box, in which we can just type 12012000. :)