Page 1 of 1

Code page - can I set it ?

Posted: Thu Sep 10, 2009 9:35 am
by xVar
Hi everebody!

I try set code page in my applicationto hungarian.

I try this code , but is not work (Browse look as english). Make I anything wrong ?

Regards Andrej.


/// settings
REQUEST DBFCDX
REQUEST DBFFPT
RDDSETDEFAULT ('DBFCDX')
REQUEST HB_LANG_HUWIN
REQUEST HB_CODEPAGE_HUWIN
HB_LangSelect('HU')
HB_SetCodePage("HUWIN")


// open dbf
DBUSEAREA(.T.,"DBFCDX",cFileName,cAliasName,.F.,.F.,"HUWIN")

// Make browse

@ 0.1, 0.1 LISTBOX oGetBr ;
FIELDS BASE->AZON,;
BASE->VEZNEV;
HEADERS 'BASE->AZON',;
'BASE->VEZNEV';
OF oFld:aDialogs[ 1 ];
SIZE ScreenX-4, ScreenY
oGetBr:aColSizes := { 60, 60,100,100 }

Re: Code page - can I set it ?

Posted: Fri Sep 11, 2009 1:09 am
by Antonio Linares
Try it this way:

REQUEST HB_Lang_HU
REQUEST HB_CODEPAGE_HUWIN
...
HB_LangSelect("HU")
HB_SetCodePage("HUWIN")

Is not work :(

Posted: Mon Sep 14, 2009 3:16 pm
by xVar
Linker write "unresolved external symbol HB_FUN_HB_LANG_HU"
I think REQUEST HB_LANG_HUWIN was good. (but not make nothing )
Regards

Andrej.