TeeChart Editor form Title
Posted: Wed Sep 22, 2010 11:55 am
Is there a way to change the title on this form?
Thanks,
Matt
Thanks,
Matt
Steema Software - Customer Support Forums
http://216.92.101.67/support/
Code: Select all
editor1.Title = "MyChart";
Code: Select all
public void InitializeChart()
{
string Title = "My Chart Editor";
ShowEditor(tChart1, Title);
}
private void ShowEditor(Steema.TeeChart.TChart tChart1, String Title)
{
Steema.TeeChart.Editor editor1 = new Steema.TeeChart.Editor();
this.Controls.Add(editor1);
editor1.Chart = tChart1;
editor1.Title = Title;
editor1.ShowModal();
}
Code: Select all
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim Title As String
Title = "My new Editor"
ShowEditor(TChart1, Title)
End Sub
Private Sub ShowEditor(ByVal TChart As Steema.TeeChart.TChart, ByVal Title As String)
Dim editor1 As Steema.TeeChart.Editor
editor1 = New Steema.TeeChart.Editor()
Me.Controls.Add(editor1)
editor1.Chart = TChart1
editor1.Title = Title
editor1.ShowModal()
End Sub