On Tue, 14 Sep 2010 16:12:37 +0200 Bart <[email protected]> wrote:
> Replace spaces with %20 ? Is there already a function for this that can be used in the LCL? Mattias > > Bart > > On 9/14/10, Andrea Mauri <[email protected]> wrote: > > 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 > > > > -- > _______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
