FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC How to make DTPicker obey Set Date British?
Posts: 87
Joined: Thu Dec 18, 2008 11:27 AM
How to make DTPicker obey Set Date British?
Posted: Mon Jun 07, 2010 07: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

Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: How to make DTPicker obey Set Date British?
Posted: Mon Jun 07, 2010 08: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
Posts: 87
Joined: Thu Dec 18, 2008 11:27 AM
Re: How to make DTPicker obey Set Date British?
Posted: 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".)

Posts: 87
Joined: Thu Dec 18, 2008 11:27 AM
Re: How to make DTPicker obey Set Date British?
Posted: Mon Jun 07, 2010 12:52 PM

No did not work.

Very strange and frustrating.

Ross

Posts: 87
Joined: Thu Dec 18, 2008 11:27 AM
Re: How to make DTPicker obey Set Date British?
Posted: 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

Continue the discussion