Page 1 of 1

How to Check that Tee Chart Title is Empty and How Get Title

Posted: Thu Nov 23, 2006 9:14 am
by 9531181
Hi

1-How we ckeck that the title of Chart is empty .
2-How we get title of Chart.

Thanks & Regards

Posted: Thu Nov 23, 2006 10:11 am
by narcis
Hi Faizullah,

1. You can do it like this:

Code: Select all

    If TChart1.Header.Text.Count = 0 Then
        'Put your code here
    End If
2. You can get it using TChart1.Header.Caption or TChart1.Header.Text.

Posted: Fri Nov 24, 2006 11:13 am
by 9531181
Hi

2- You can get it using TChart1.Header.Caption or TChart1.Header.Text

Header not have "Caption" Property

TChart1.Header.Caption

And This is not a proper Sentex

TChart1.Header.Text

We can get Title in this way

Code: Select all

 TChart1.Header.Text.Item(0) 
Thanks With Regards