<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HTMLViewer &#8211; Xojo Programming Blog</title>
	<atom:link href="https://blog.xojo.com/tag/htmlviewer/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.xojo.com</link>
	<description>Blog about the Xojo programming language and IDE</description>
	<lastBuildDate>Tue, 02 Mar 2021 18:36:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Supporting HTMLViewer on Raspberry Pi</title>
		<link>https://blog.xojo.com/2015/11/16/supporting-htmlviewer-on-raspberry-pi/</link>
		
		<dc:creator><![CDATA[Paul Lefebvre]]></dc:creator>
		<pubDate>Mon, 16 Nov 2015 00:00:00 +0000</pubDate>
				<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[HTMLViewer]]></category>
		<category><![CDATA[RPi]]></category>
		<category><![CDATA[Xojo Programming Language]]></category>
		<guid isPermaLink="false">http://blogtemp.xojo.com/2015/11/16/supporting-htmlviewer-on-raspberry-pi/</guid>

					<description><![CDATA[Install the library needed for HTMLViewer on Raspberry Pi.]]></description>
										<content:encoded><![CDATA[<p>If you are creating Xojo desktop apps for your Raspberry Pi (and why not since Xojo Pi if free for desktop &amp; console apps), you may want to take advantage of the <a href="http://developer.xojo.com/htmlviewer">HTMLViewer</a> control for easy display of HTML content or apps.</p>
<p><span id="more-323"></span></p>
<p>By default, Raspbian does not include the necessary library to allow the HTMLViewer to work, but you can easily install it. Open a Terminal window on the Pi and enter this command:</p>
<pre> sudo apt-get install libwebkitgtk-1.0.0</pre>
<p>This will download and install the library needed by HTMLViewer.</p>
<p>&nbsp;</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>HTMLViewer Engines on Windows</title>
		<link>https://blog.xojo.com/2015/10/12/htmlviewer-engines-on-windows/</link>
		
		<dc:creator><![CDATA[Greg O'Lone]]></dc:creator>
		<pubDate>Mon, 12 Oct 2015 00:00:00 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[HTMLViewer]]></category>
		<guid isPermaLink="false">http://blogtemp.xojo.com/2015/10/12/htmlviewer-engines-on-windows/</guid>

					<description><![CDATA[HTMLViewer on the desktop has two engines that you can select from, Native and Webkit. ]]></description>
										<content:encoded><![CDATA[<p>HTMLViewer on the desktop has two engines that you can select from, Native and Webkit. Native uses the built-in browser engine on each platform &#8211; Webkit on OS X, Internet Explorer on Windows, and Webkit on Linux, if it&#8217;s installed. If you select &#8220;Webkit&#8221;, the Chrome Embedded Browser libraries are included with your built app and HTMLViewer will use that instead. There are pros and cons to each, but usually the reason people choose WebKit over Native on Windows is because choosing Native gets you whatever the minimum version of Internet Explorer is for a particular OS. This means:</p>
<p><span id="more-246"></span></p>
<table style="margin-left: auto; margin-right: auto;" border="0" width="300" cellspacing="0" cellpadding="4">
<tbody>
<tr>
<td width="99"></td>
<td style="text-align: center;" width="90">Installed</td>
<td style="text-align: center;" width="89">Latest</td>
</tr>
<tr>
<td style="text-align: right;">XP</td>
<td style="text-align: center;">6</td>
<td style="text-align: center;">8</td>
</tr>
<tr>
<td style="text-align: right;">Vista</td>
<td style="text-align: center;">7</td>
<td style="text-align: center;">9</td>
</tr>
<tr>
<td style="text-align: right;">Windows 7</td>
<td style="text-align: center;">8</td>
<td style="text-align: center;">11</td>
</tr>
<tr>
<td style="text-align: right;">Windows 8</td>
<td style="text-align: center;">10</td>
<td style="text-align: center;">11</td>
</tr>
<tr>
<td style="text-align: right;">Windows 8.1</td>
<td style="text-align: center;">11</td>
<td style="text-align: center;">11</td>
</tr>
<tr>
<td style="text-align: right;">Windows 10</td>
<td style="text-align: center;">Edge</td>
<td style="text-align: center;">Edge</td>
</tr>
</tbody>
</table>
<p>Unfortunately this means that you&#8217;re often working with an engine that&#8217;s <em>way</em> out of date and it makes using the HTMLViewer as a control a real pain if you want to use any relatively new technologies.</p>
<p>There have been a few ideas to fix this over the years, but the most reliable solution I&#8217;ve seen has been to modify the registry and tell Windows what version of IE you want to use. Problems include: you can&#8217;t really expect an end user to do something like that; it can be risky to edit the registry if you don&#8217;t know what you&#8217;re doing; and most corporate users are locked out of the registry for that reason anyway.</p>
<p><strong>Now for a better way</strong></p>
<p>If you have control over the content being displayed, that is, you have the ability to modify the HTML being displayed, there is a way for you to get Windows to use a newer engine. You&#8217;ll need to add a very specific tag to your html within the &lt;head&gt; section of the page. You can do this one of two ways:</p>
<pre>&lt;meta http-equiv="X-UA-Compatible" content="IE=edge" /&gt;</pre>
<p>This version will tell Windows to use the latest engine it has available. If IE11 is installed, you&#8217;ll get the IE11 engine.</p>
<pre>&lt;meta http-equiv="X-UA-Compatible" content="IE=8" /&gt;</pre>
<p>This version tells Windows to use a very specific version of the engine. If you have IE11 installed, it will still use the IE8 engine. Looking for more tips for Xojo on Windows?</p>
<p><span id="hs-cta-wrapper-ee3c17a9-e8c9-4b5d-92ea-421a48777319" class="hs-cta-wrapper"><span id="hs-cta-ee3c17a9-e8c9-4b5d-92ea-421a48777319" class="hs-cta-node hs-cta-ee3c17a9-e8c9-4b5d-92ea-421a48777319"> <!-- [if lte IE 8]>


<div id="hs-cta-ie-element"></div>


<![endif]--> <a href="http://blog.xojo.com/2014/06/12/creating-installers-for-windows-apps/" target="_blank" rel="noopener"><img fetchpriority="high" decoding="async" id="hs-cta-img-ee3c17a9-e8c9-4b5d-92ea-421a48777319" class="hs-cta-img aligncenter" style="border-width: 0px; margin: 0 auto; display: block; margin-top: 20px; margin-bottom: 20px;" src="https://blog.xojo.com/wp-content/uploads/2015/02/ee3c17a9-e8c9-4b5d-92ea-421a48777319.png" alt="Xojo Windows" width="611" height="108" align="middle" /></a></span></span> <!-- end HubSpot Call-to-Action Code --></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
