Page 1 of 1
Help button on TeeChart Editor
Posted: Fri Oct 14, 2005 9:41 am
by 9637269
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
Posted: Fri Oct 14, 2005 10:41 am
by narcis
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.
Posted: Fri Oct 14, 2005 12:12 pm
by 9637269
What kind of registry key is [HKEY_LOCAL_MACHINEHelp] ?
Isn't it mispelled?
Thanks for helping
Matteo
registry key
Posted: Mon Oct 17, 2005 9:37 am
by 9637269
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
Posted: Mon Oct 17, 2005 11:45 am
by Marc
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
Posted: Mon Oct 17, 2005 1:52 pm
by 9637269
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
Posted: Mon Oct 17, 2005 2:53 pm
by Marc
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
Posted: Fri Oct 21, 2005 3:05 pm
by 8125470
At what point did Steema.TeeChart.Editors.ChartEditorOptions become available?
Many thanks,
Vaughan
Posted: Mon Oct 24, 2005 1:41 pm
by narcis
Hi Vaughan,
It became available in v2.