Wish Let xui.getFileUri() consider URI fragment identifiers (i.e. #section1)


Active Member
Licensed User
Longtime User
The current situation is:

' Using localy saved file
' Does not work
WebView1.LoadUrl(xui.FileUri(File.DirAssets, "simple.html#scroll1")) ' File is not found

' Does work
WebView1.LoadUrl(xui.FileUri(File.DirAssets, "simple.html") & "#scroll1") ' Scrolls to URL fragment

I would like to use getFileUri() not only with folder and filename but also with URI fragment identifiers that are a regular part of a URI (see RFC 2396 section 4.1)

If this is not possible I would like to ask for a change in the documentation of the getFileUri() operation to make more clearly it does work with filenames only and not with other URI elements.