thank you for your idea, but it will not work....
it looks like the HTtmlView does not report correct the current displayd url.
In the manual the user can click on text based links to jump to chapters. like:
manual.html#chapter1
On the BACK-Button I let me report with
HtmlViewCurrentURL(HtmlView), what the current displayed page is. But jumping completely back to the start URL is not possible, because already one step before beeing HOME the
HtmlViewCurrentURL(HtmlView) answers already with the start URL, but the HtmlView still show a Chapter (deep inside the manual).
would I now use a ....
IF HtmlViewCurrentURL(HtmlView)<>FirstURL
... the last BACK step will not be done.
But... If I don't use the If-Statement, I'm able to step back. But after clicking at penultimate step now the former document appears. Again
HtmlViewCurrentURL(HtmlView) show the current documents URL. After another BACK-step suddenly the HOME of the current document appears.
Strange!!!!
Code:
Case Button[BUT_BACK]
Print "BACK STEP"
Print "First URL=" + firsturl
Local current$=HtmlViewCurrentURL(HtmlView)
Print "current before=" + current
If current<>FirstURL
HtmlViewBack HtmlView
EndIf