How to make DTPicker obey Set Date British?

How to make DTPicker obey Set Date British?

Postby Ross_ValuSoft » Mon Jun 07, 2010 7:35 am

Hi all.

It seems that DTPicker ignores the "Set Date British" setting. It always displays "mm/dd/yy" format.

Could someone please confirm this ... and perhaps suggest a work around?

Thanks,

Ross
User avatar
Ross_ValuSoft
 
Posts: 87
Joined: Thu Dec 18, 2008 11:27 am
Location: Melbourne, Australia

Re: How to make DTPicker obey Set Date British?

Postby Richard Chidiak » Mon Jun 07, 2010 8:14 am

Ross

I had a similar problem when datepicker would not display in french format as i needed

My fix around was

REQUEST HB_LANG_FR

HB_langSelect("FR")

SET DATE TO FRENCH

Maybe this will help

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: How to make DTPicker obey Set Date British?

Postby Ross_ValuSoft » Mon Jun 07, 2010 11:46 am

Thank you Richard. I will give that a go.

Regards,

Ross
(ps ... we enjoyed watching the women's French Tennis Open. And Francesca "did her country proud". Congratulations to Italy. And to Spain for Raffa's 5th French "crown".)
User avatar
Ross_ValuSoft
 
Posts: 87
Joined: Thu Dec 18, 2008 11:27 am
Location: Melbourne, Australia

Re: How to make DTPicker obey Set Date British?

Postby Ross_ValuSoft » Mon Jun 07, 2010 12:52 pm

No did not work.

Very strange and frustrating.

Ross
User avatar
Ross_ValuSoft
 
Posts: 87
Joined: Thu Dec 18, 2008 11:27 am
Location: Melbourne, Australia

Re: How to make DTPicker obey Set Date British?

Postby Ross_ValuSoft » Tue Jun 08, 2010 12:06 am

SOLVED!

Yet again, I can deliver the blame at the doorsteps of Microsoft. Their Pocket PC 2003 Second edition emulator ignores the set date settings.

I almost always use the emulator while developing software and maybe once every week test on the Axim itself. As I was going to sleep last night, I realised that I had not tested the date formatting "problem" on the Axim. This morning's test reveals the culprit. The date displays correctly on the Axim, but wrongly on the emulator.

Hopefully, my "travails" will help someone else.

Thanks for your help Richard.

Ross
User avatar
Ross_ValuSoft
 
Posts: 87
Joined: Thu Dec 18, 2008 11:27 am
Location: Melbourne, Australia


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 7 guests