[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Search methods added to the WebView control


Am 17.04.25 um 14:52 schrieb Claus Dietrich:
Am 17.04.25 um 12:16 schrieb Benoît Minisini:

The logic has been fixed in the last commit.

Thanks!

Best regards

Claus

Two more things:

1. Using the Find()-method without arguments is supposed to erase all marked hits. This works with the exemption of the first hit, which remains marked in gray color. My current workaround is to reload the HTML page but this takes time and is clearly visible. It would be perfect if the Find() method (without arguments) erases also the first hit.

2. Currently we load the HTML into the WebView (gb.qt5.webview) with

    WebViewDocView.Url = "file:///" & Application.Path &/ "program_doc/doc.html"

This works fine during development time but as a Gambas executable or AppImage executed outside of the program development path it fails with the error ERR_FILE_NOT_FOUND displayed in the WebView. Is there a way to access the HTML file with all css files and linked images as program resource or do we have to copy all files to an external system path before loading the HTML file?

With best regards, Claus


Follow-Ups:
Re: Search methods added to the WebView controlBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Search methods added to the WebView controlDenis Crowther <denisc@xxxxxxxxxxxxxx>
References:
Search methods added to the WebView controlBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Search methods added to the WebView controlClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: Search methods added to the WebView controlClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: Search methods added to the WebView controlBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Search methods added to the WebView controlClaus Dietrich <claus.dietrich@xxxxxxxxxx>