MENSAGERIAS DE ERRSYSW.PRG

Post Reply
User avatar
karinha
Posts: 4882
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

MENSAGERIAS DE ERRSYSW.PRG

Post by karinha »

Buenas Amigos...

Por favor, como puedo hacer para modificar las mensagerias de ERRSYSW.PRG??

Ejemplo:

Retorno: "VARIABLES DOES NOT EXIST" - Ingléz... No és bueno.

Por:

Retorno en Português: "VARIAVEL NÃO EXISTE"
João Santos - São Paulo - Brasil
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

REQUEST HB_Lang_PT
REQUEST HB_CODEPAGE_PT
...
HB_LangSelect( "PT" )
HB_SetCodePage( "PT" )
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
karinha
Posts: 4882
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Post by karinha »

Antonio Linares wrote:REQUEST HB_Lang_PT
REQUEST HB_CODEPAGE_PT
...
HB_LangSelect( "PT" )
HB_SetCodePage( "PT" )
Gracias Maestro Funciono Perfecto.

Yuri:

Resposta By Antonio Linares

REQUEST HB_Lang_PT
REQUEST HB_CODEPAGE_PT
...
HB_LangSelect( "PT" )
HB_SetCodePage( "PT" )

Correto:

Code: Select all

#Include "Fivewin.Ch"

REQUEST HB_LANG_PT
REQUEST HB_CODEPAGE_PT850

STATIC oWnd

FUNCTION MAIN()

    LOCAL...
    MEMVAR...
    PUBLIC...

    //->Defaults da Lingua Portuguesa do [x]Harbour
    HB_LANGSELECT( 'PT' )         // Default language is now Portuguese
    //->Como indexar corretamente campos acentuados Harbour/xHarbour
    //->Este recurso e valido para Harbour e xHarbour e requer a biblioteca
    //->CODEPAGE.LIB.
    HB_SETCODEPAGE( "PT850" )
    ...
    ...

RETURN NIL

Nao esquecer de Chamar: CODEPAGE.LIB.


Mui Bueno.

Congratulations.

Regards, saludos.
João Santos - São Paulo - Brasil
Post Reply