Page 1 of 1

How to make DTPicker obey Set Date British?

Posted: Mon Jun 07, 2010 7:35 am
by Ross_ValuSoft
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

Re: How to make DTPicker obey Set Date British?

Posted: Mon Jun 07, 2010 8:14 am
by Richard Chidiak
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

Re: How to make DTPicker obey Set Date British?

Posted: Mon Jun 07, 2010 11:46 am
by Ross_ValuSoft
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".)

Re: How to make DTPicker obey Set Date British?

Posted: Mon Jun 07, 2010 12:52 pm
by Ross_ValuSoft
No did not work.

Very strange and frustrating.

Ross

Re: How to make DTPicker obey Set Date British?

Posted: Tue Jun 08, 2010 12:06 am
by Ross_ValuSoft
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