ToolTip text

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
serge_girard
Posts: 3170
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

ToolTip text

Post by serge_girard »

Hello,

I have french application with this code:

Code: Select all

SET LANGUAGE TO FRENCH  
hb_setcodepage("FRWIN") 
All text etc. is shown correct with accents but my tooltip is not shown correct:

Code: Select all

PUBLIC cGEBDAT_TIP      := ;
'VOORBEELDEN - EXAMPLES:                                 '  +  CHR(13)	+ CHR(10) + ;
'1975-02-12 of/ou 1975-2-12   of/ou 12021975 of/ou       '  +  CHR(13)	+ CHR(10) + ;
'19750212   of/ou 1975-FEB-12 of/ou 12 FEBR 1975 of/ou   '  +  CHR(13)	+ CHR(10) + ;
'1975/02/12 of/ou 1975/2/12   of/ou 12021975 of/ou       '  +  CHR(13)	+ CHR(10) + ;
'19750212   of/ou 1975/FEB/12 of/ou 12 FéV 1975  of/ou   '  +  CHR(13)	+ CHR(10) + ;
'1975.02.12 of/ou 1975.2.12   of/ou 12021975 of/ou       '  +  CHR(13)	+ CHR(10) + ;
'19750212   of/ou 1975.FEB.12 of/ou 12 FEBR 1975 of/ou   '  +  CHR(13)	+ CHR(10) + ;
'feb of/ou fev of/ou 12 feb of/ou 1975 feb of/ou 1975 02 '  +  CHR(13)	+ CHR(10)  
As you can see on att. Anybody has an idea on how to solve?

Thx, Serge
Attachments
GEB.png
GEB.png (70.33 KiB) Viewed 1203 times
There's nothing you can do that can't be done...
User avatar
mustafa
Posts: 1162
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:

Re: ToolTip text

Post by mustafa »

Hola amigo serge
Haber si te puede servir ?
PD: Prg salvado con UTF-8
Saludos
*---------------------------------------*
Bonjour serge
cela peut vous servir?
PD: Prg enregistré avec UTF-8
Salutations

Code: Select all

#include <hmg.ch> 

PROCEDURE Main 

REQUEST HB_LANG_FR
REQUEST HB_CODEPAGE_UTF8

PRIVATE Texte := "Le voyage" + ;
 "Je m’appelle Hugo et j’ai seize ans." + ;
 "Aujourd’hui, avec mes parents et ma sœur nous partons en voyage." + ;
 "Ma sœur s’appelle Laura, elle a treize ans. " + ; 
 "Nous sommes à l’aéroport : direction Barcelone en Espagne ! "+ CRLF+ ; 
 "J’ai déjà pris l’avion car nous sommes allés à Rome en Italie, il y a deux ans. " + ; 
 "A Barcelone, mes parents ont réservé un appartement près de la plage." + ;
 "Mes parents souhaitent louer des vélos pour visiter Barcelone."+ CRLF+ ; 
 "Ils veulent admirer la célèbre Sagrada Familia, se balader dans le Parc Güell" + ;
 "et goûter la nourriture locale. Moi, je veux aller au zoo et à l’aquarium… " + ;
 "et manger des glaces. Ma sœur préfère aller à la plage pour lire et bronzer. " + ;
 "Nous séjournons pendant deux semaines à Barcelone."+ CRLF+ ; 
 "J’espère qu’il y aura beaucoup de soleil. Je n’aime pas la pluie, " + ;
 "surtout pendant les vacances."

  MsgInfo( Texte ,"Sample -> FéV" ) 
 
 RETURN 

User avatar
serge_girard
Posts: 3170
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: ToolTip text

Post by serge_girard »

Thanks Mustafa, I will try!

Serge
There's nothing you can do that can't be done...
Post Reply