Page 1 of 1

None-english header

Posted: Fri Jan 23, 2004 5:06 pm
by 9079459
Hello,

how can i have a chart header (TChart1.Header.Text) in, say, Cyrillic? Now all char with ASCII code above 127 are shown as question marks.

nefis

Posted: Mon Jan 26, 2004 10:04 am
by Pep
Hi nefis,

yes, it can't be seen unless run on a Cyrillic windows system.

Posted: Mon Jan 26, 2004 11:39 am
by 9079459
I'd like to use Symbol font (installed on every Windows system) to print out some special chars. How can use a char with ASCII code above 127 ?!

Posted: Tue Jan 27, 2004 11:14 am
by Chris
Hi ---

Have you tried using ChrW?:

Code: Select all

Private Sub Form_Load()
With TChart1
    .Aspect.View3D = False
    .AddSeries scLine
    .Series(0).FillSampleValues 20
    
    .Header.Text.Clear
    .Header.Text.Add ChrW(199)
End With
End Sub
Best regards,

Christopher Ireland
http://support.steema.com