Page 1 of 1

Is it possible to disable the HELP button on chart editor?

Posted: Thu Apr 16, 2009 12:24 pm
by 13050364
Hi support

The Help button on the chart editor window brings up a lot of technical information thats really only of use to developers. The end-user wont be interested in this so ideally Id like to disable this option. Can this be done?

Thanks.

Posted: Thu Apr 16, 2009 1:34 pm
by narcis
Hi Dave,

I'm afraid this is not possible unless you are a sourcecode customer and customize the editor to fit your needs. However, you can set the custom help file you want to use using Editor's HelpFileName property.

Posted: Thu Apr 16, 2009 2:12 pm
by 13050364
<i>However, you can set the custom help file you want to use using Editor's HelpFileName property.</i>

OK great I'll do that.

Posted: Thu Apr 16, 2009 3:50 pm
by 13050364
Narcis

A quick question. I display the editor the following way;

theChart.ShowEditor();


I dont actually add the editor control to the form. So is it still possible for me to set the HelpFileName property doing it this way?

Posted: Fri Apr 17, 2009 7:37 am
by narcis
Hi Dave,

I'm afraid not, you need to do something like this:

Code: Select all

			Steema.TeeChart.Editor editor1 = new Steema.TeeChart.Editor(tChart1);
			editor1.HelpFileName = yourHelpFile;
			editor1.ShowModal();

Posted: Mon May 11, 2009 8:28 am
by narcis
Hi Dave,

As an update, we found that editor's help button can be hidden this way:

Code: Select all

		private void button1_Click(object sender, EventArgs e)
		{
			Steema.TeeChart.Editor editor = new Steema.TeeChart.Editor(tChart1);
			editor.Options = new Steema.TeeChart.Editors.ChartEditorOptions[] { Steema.TeeChart.Editors.ChartEditorOptions.Add, 
			                                                                    Steema.TeeChart.Editors.ChartEditorOptions.Change,
			                                                                    Steema.TeeChart.Editors.ChartEditorOptions.Clone, 
			                                                                    Steema.TeeChart.Editors.ChartEditorOptions.Delete, 
			                                                                    Steema.TeeChart.Editors.ChartEditorOptions.Title};
			editor.ShowModal(this);
		}