Help button on TeeChart Editor

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
ATG
Newbie
Newbie
Posts: 10
Joined: Wed Jun 22, 2005 4:00 am
Contact:

Help button on TeeChart Editor

Post by ATG » Fri Oct 14, 2005 9:41 am

hello,

I'm using v2 for .NET and delivering a feature for my customers to let them open the TeeChart Editor.
The editor contains an help button that opens an help file that it's good for developers but not for end users.
Is it possible to hide this button or change the file to be open? If yes, do you have an end user help file?

Many thanks,
Matteo

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Oct 14, 2005 10:41 am

Hi Matteo,

You should have a look at the TeeChart Pro .NET tutorials, Tutorial17 – Designtime Runtime and License considerations:
Runtime Editor Help support

TeeChart's Editor may be implemented at runtime to enable your application users to modify Chart settings. TeeChart's own designtime programmer help does not extend to runtime but you have the option to add your own helpfile to be opened by the Help button on the Chart Editor at runtime.

Configuration

 Your helpfile should be chm format (HTML Help v1)

 The helpfile should be runtime registered when installed at the following registry location:

[HKEY_LOCAL_MACHINEHelp]
"YourHelpfile.chm"="drive:\directory"
You'll find the tutorials at TeeChart's program group.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

ATG
Newbie
Newbie
Posts: 10
Joined: Wed Jun 22, 2005 4:00 am
Contact:

Post by ATG » Fri Oct 14, 2005 12:12 pm

What kind of registry key is [HKEY_LOCAL_MACHINEHelp] ?
Isn't it mispelled?

Thanks for helping
Matteo

ATG
Newbie
Newbie
Posts: 10
Joined: Wed Jun 22, 2005 4:00 am
Contact:

registry key

Post by ATG » Mon Oct 17, 2005 9:37 am

hello,

is it possible to hide the help button?
Can you tell me where to find the registry key:
[HKEY_LOCAL_MACHINEHelp]

It sounds wrong typed to me.
Thanks,
Matteo

Marc
Site Admin
Site Admin
Posts: 1272
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Post by Marc » Mon Oct 17, 2005 11:45 am

Hello Matteo,

Yes, thanks for pointing that out, it's incorrect. We'll correct the documentation for the next update.

That should be:

Code: Select all

[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\HTML Help]
  "YourHelpfile.chm"="drive:\directory"
Regards,
Marc Meumann
Steema Support

ATG
Newbie
Newbie
Posts: 10
Joined: Wed Jun 22, 2005 4:00 am
Contact:

Post by ATG » Mon Oct 17, 2005 1:52 pm

found the key in the registry.
But if I add a new entry like the following:
myhelp.chm=c:\temp

how can the Teechart editor know to open that file instead of the default help file??

I miss something here....
Thanks in advance,
Matteo

Marc
Site Admin
Site Admin
Posts: 1272
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Post by Marc » Mon Oct 17, 2005 2:53 pm

Hello Mateo,

Here's an example of useage. It's not very intuitive so we'll make sure to add this or a similar example to the documentation.

Code: Select all

private void button2_Click(object sender, System.EventArgs e)
{
	Steema.TeeChart.Editor editor = new Steema.TeeChart.Editor(tChart1);

	editor.HelpFileName="myHelpFile.chm";
	editor.Title="My Charting App - Chart Editor";

	Steema.TeeChart.Editors.ChartEditorOptions[] options=new Steema.TeeChart.Editors.ChartEditorOptions[2];

	options[0]=Steema.TeeChart.Editors.ChartEditorOptions.Help;
	options[1]=Steema.TeeChart.Editors.ChartEditorOptions.Add;
	options[1]=Steema.TeeChart.Editors.ChartEditorOptions.Delete;

	editor.Options=options;

	editor.ShowModal();
}
Regards,
Marc Meumann
Steema Support

VH1
Advanced
Posts: 105
Joined: Thu May 13, 2004 4:00 am
Location: UK

Post by VH1 » Fri Oct 21, 2005 3:05 pm

At what point did Steema.TeeChart.Editors.ChartEditorOptions become available?

Many thanks,

Vaughan

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Oct 24, 2005 1:41 pm

Hi Vaughan,

It became available in v2.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply