Date format property for DatePicker

Moderator: Rathinagiri

Post Reply
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Date format property for DatePicker

Post 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
With best regards,
Sudip
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Date format property for DatePicker

Post by Rathinagiri »

set date command is not working?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: Date format property for DatePicker

Post 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
With best regards,
Sudip
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Date format property for DatePicker

Post by Rathinagiri »

Had you restarted the system?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: Date format property for DatePicker

Post by sudip »

rathinagiri wrote:Had you restarted the system?
Most probably yes. But, I shall confirm when I shall visit there in next week :)
With best regards,
Sudip
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Date format property for DatePicker

Post 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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Date format property for DatePicker

Post 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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Date format property for DatePicker

Post 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. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Post Reply