I added to my application:
    helpBrowser: THTMLBrowserHelpViewer;
    helpDB: THTMLHelpDatabase;

Then I set the properties:
  helpDB.BaseURL:= 'file://help/';
  helpDB.KeywordPrefix:= 'HELP/';
  HelpKeyword:= 'HELP/index.html';

Actually it works except when the html help pages are on a path including spaces.
For example if my application is in: d:\myapp\
and the help is in: d:\myapp\help\index.html
it works correctly

But if in the path there are spaces like: d:\my app\help\index.html
The html page is not shown correctly, for example firefox open two tabs:
file:///D:/my
and a second tab
app\help\index.html

The same happens calling:
  ShowHelpOrErrorForKeyword('','HELP/page.htm');

what I have to do?
regards,
andrae

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to