Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Different Fonts in Grid
Message
De
09/02/2006 08:37:21
 
 
À
09/02/2006 08:08:11
Ashish Patel
Hindustan Petroleum
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows 2000
Database:
Visual FoxPro
Divers
Thread ID:
01094951
Message ID:
01094964
Vues:
20
Ashish

Try, in the .Init() of the form:

frmMyForm.grdGrid1.SetAll("DynamicFontName", "IIF( Language = "E", "Arial", "Bharati"), "Column")

HTH

Terry

>Hi,
>
>I want to create a grid which should have different font rowwise. The reason is I am creteing a grid from following table.
>
>SRNO Number 10
>NAME Character 60
>LANGUAGE Character 1
>
>Now the Language field will have two different value "E" for English and "H" for Hindi which is Indian Language. To display English data I want to use "Arial" Font and to display record with language with "H" I want to use "Bharati" font. Because if I display records with language = "H" in "Arial" or any other common fonts it displays all junk character because data is stored like that.
>
>Pl. help.
>
>Regards
>
>Ashish
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform