None-english header

TeeChart for ActiveX, COM and ASP
Post Reply
nefis
Newbie
Newbie
Posts: 62
Joined: Wed Oct 22, 2003 4:00 am
Location: chicago

None-english header

Post by nefis » Fri Jan 23, 2004 5:06 pm

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

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Jan 26, 2004 10:04 am

Hi nefis,

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

nefis
Newbie
Newbie
Posts: 62
Joined: Wed Oct 22, 2003 4:00 am
Location: chicago

Post by nefis » Mon Jan 26, 2004 11:39 am

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 ?!

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Post by Christopher » Tue Jan 27, 2004 11:14 am

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

Post Reply