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.