[Lazarus] Lazarus-support site, question about FPC version for Lazarus

Tom Verhoeff T.Verhoeff at tue.nl
Wed Sep 15 10:00:17 CEST 2010


Replace spaces with %20 ?

Bart

On 9/14/10, Andrea Mauri <andrea.mauri.75 at gmail.com> 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
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>




More information about the Lazarus mailing list