[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Search methods added to the WebView control
[Thread Prev] | [Thread Next]
- Subject: Re: Search methods added to the WebView control
- From: Claus Dietrich <claus.dietrich@xxxxxxxxxx>
- Date: Fri, 18 Apr 2025 10:52:29 +0200
- To: Gambas MailingList <user@xxxxxxxxxxxxxxxxxxxxxx>
Am 18.04.25 um 01:45 schrieb Denis Crowther:
On 18/4/25 02:31, Claus Dietrich wrote:By using Application.Path you're effectively hard coding the path to the webpage as "wherever the application is". For that to work you'd have to distribute the webpage with the executable, to be placed in the same folder as the executable.2. Currently we load the HTML into the WebView (gb.qt5.webview) withWebViewDocView.Url = "file:///" & Application.Path &/ "program_doc/ doc.html"Does putting the Webpage & files within the Appimage in the same folder as the executable not work?
It would certainly work, but it is a pretty big bunch of files used as HTML-Help-File which would pollute the path where the executable is started. So I rather thought about copying all files to a temporary directory.
In another program I use a Help system based on a PDF file. This solution doesn't have this disadvantage, but a Gambas-internal PDF-help-reader can't compete against the features of a Gambas-internal HTML-help-reader.
Best regards Claus
Search methods added to the WebView control | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Search methods added to the WebView control | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
Re: Search methods added to the WebView control | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
Re: Search methods added to the WebView control | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Search methods added to the WebView control | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
Re: Search methods added to the WebView control | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |
Re: Search methods added to the WebView control | Denis Crowther <denisc@xxxxxxxxxxxxxx> |