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

Re: HtmlView vs WebView


On 5/23/25 3:28 PM, gbWilly wrote:
Maybe I need to reformulate the question that Bruce brings to attention.

What is the proper use of htmlview.url?
- Feeding it a online url doesn't seem to work

It doesn't work because HtmlView does not download the actual content of the document at the specified URL. It can display only content that is locally available. To view a document located on the internet, one would need to pre-fetch the content (like with HttpClient), save it to a local document, and then view that content with HtmlView.

I hope that was understandable.


- Feeding it a local path to some index.html seems to work
And yes, css is partially supported, I know.
So, a page not showing = ccs not understood?

No, a page not showing means there is no content available to display.


And html viewer (read only or not) in my book means "show me the webpage"

Perhaps try to think of it as meaning "show me the HTML document".


So, there is quite some confusion IMHO, at least at my sied about the URL property.

Yes, and as Bruce suggested, Path might be a less confusing name for that property.


--
Lee

--- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ----
--- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----


Follow-Ups:
Re: HtmlView vs WebViewgbWilly <gbWilly@xxxxxxxxxxxxxx>
References:
HtmlView vs WebViewBruce Steers <bsteers4@xxxxxxxxx>
Re: HtmlView vs WebViewBruce Steers <bsteers4@xxxxxxxxx>
Re: HtmlView vs WebViewBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: HtmlView vs WebViewgbWilly <gbWilly@xxxxxxxxxxxxxx>