Designer Help
I see that 11.04 has a fix: "The Designer.EnableHelp and HelpFile properties
were not being honored."
Sorry to report that this is not true (using D 2007 and WinXP3). EnableHelp
is set True and HelpFile is set to RBUILDER.CHM, which is a help file I
created for end users (the regular RBuilder.hlp is of little use or
downright confusing to end users). Using the menu command Help | Help Topics
does not display any help.
I've also tried to redirect Application.HelpFile to RBuilder.chm before
starting report explorer. Still no help file is displayed.
I've also tried both of the above using RBuilder.hlp/cnt which I copied from
the files installed. No go there, either.
This has been a problem for quite a while and the reported fix does not seem
to fix it.
--
Steven S. Weston
were not being honored."
Sorry to report that this is not true (using D 2007 and WinXP3). EnableHelp
is set True and HelpFile is set to RBUILDER.CHM, which is a help file I
created for end users (the regular RBuilder.hlp is of little use or
downright confusing to end users). Using the menu command Help | Help Topics
does not display any help.
I've also tried to redirect Application.HelpFile to RBuilder.chm before
starting report explorer. Still no help file is displayed.
I've also tried both of the above using RBuilder.hlp/cnt which I copied from
the files installed. No go there, either.
This has been a problem for quite a while and the reported fix does not seem
to fix it.
--
Steven S. Weston
This discussion has been closed.
Comments
effect either.
--
Steven S. Weston
1. ReportBuilder's internal/automatic help invokation currently works for
WinHelp and Help2, but not HtmlHelp. (I will add HtmlHelp to the requested
features list).
2. The WinHelp example you tried with RBuilder.hlp should work. Make sure
you include 'WinHelpViewer' in the 'uses' clause.
3. Here is an example of displaying HTML help.
uses
HtmlHelpViewer;
procedure TForm1.ppDesigner1Help(Sender: TObject; var aHelpFile, aKeyphrase:
string; var aCallHelp: Boolean);
begin
// invoke help
Application.HelpFile := 'C:\\myRBHelpFile.chm';
Application.HelpCommand(HELP_CONTENTS, 0);
// tell RB it's been handled
aCallHelp := False;
end;
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
That works -- thanks. I think we need a similar OnHelp event in
TppReportExplorer.
--
Steven S. Weston
For now, you can attach an event-handler to the ReportExplorer Help Topics
menu item click
Add this code to the FormCreate of your main end-user form.
uses
ppExpFrm,
ppRptExpCommon;
procedure TmyEndUserSolution.FormCreate(Sender: TObject);
TppReportExplorerForm(ppReportExplorer1.Form).MenuBar.HelpMenu.HelpTopics.OnClick
:= HelpTopicsClickEvent;
end;
procedure TmyEndUserSolution.HelpTopicsClickEvent(Sender: TObject);
begin
// invoke help
end;
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
--
Steven S. Weston