How to make DTPicker obey Set Date British?

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

How to make DTPicker obey Set Date British?

Post 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
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: How to make DTPicker obey Set Date British?

Post 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
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
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?

Post 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".)
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?

Post by Ross_ValuSoft »

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?

Post 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
Post Reply