<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[My Visual Database — TWebBrowser Container]]></title>
		<link>https://myvisualdatabase.com/forum/viewtopic.php?id=8872</link>
		<atom:link href="https://myvisualdatabase.com/forum/extern.php?action=feed&amp;tid=8872&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in TWebBrowser Container.]]></description>
		<lastBuildDate>Tue, 12 Mar 2024 22:39:35 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: TWebBrowser Container]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=50488#p50488</link>
			<description><![CDATA[<p>Hi Derek,</p><p>Thanks for your reply. I&#039;ll try to use relative linking.<br />I&#039;m truly grateful for your kind help........</p>]]></description>
			<author><![CDATA[null@example.com (AD1408)]]></author>
			<pubDate>Tue, 12 Mar 2024 22:39:35 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=50488#p50488</guid>
		</item>
		<item>
			<title><![CDATA[Re: TWebBrowser Container]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=50481#p50481</link>
			<description><![CDATA[<p>Hi Adam,<br />I wasn&#039;t ignoring you ( <img src="https://myvisualdatabase.com/forum/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /> ) - I just didn&#039;t see your post.&nbsp; Sorry.<br />I think the &#039;page cannot be displayed&#039; message is simply because I was using hard coded links to example documents rather than using relative links.<br />Obviously you wouldn&#039;t usually use &#039;hard coded&#039; links but I was just experimenting with various things.<br />Regards,<br />Derek.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Mon, 11 Mar 2024 16:29:10 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=50481#p50481</guid>
		</item>
		<item>
			<title><![CDATA[Re: TWebBrowser Container]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=50461#p50461</link>
			<description><![CDATA[<p>Hi Derek,</p><br /><p>Thanks for posting useful little utility.<br />At my end it says &quot;This page can’t be displayed&quot;<br />Is it my OS as I&#039;m using Win 7</p>]]></description>
			<author><![CDATA[null@example.com (AD1408)]]></author>
			<pubDate>Sat, 09 Mar 2024 20:16:47 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=50461#p50461</guid>
		</item>
		<item>
			<title><![CDATA[Re: TWebBrowser Container]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=50445#p50445</link>
			<description><![CDATA[<p>Yes, simple and straightforward.<br />Thanks for the extra information.<br />Derek.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Thu, 07 Mar 2024 19:48:22 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=50445#p50445</guid>
		</item>
		<item>
			<title><![CDATA[Re: TWebBrowser Container]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=50444#p50444</link>
			<description><![CDATA[<p>Hi Derek,</p><br /><p>It&#039;s even easier<br /></p><div class="codebox"><pre><code>if vpath = &#039;&#039; then vweb.navigate(&#039;about:blank&#039;);</code></pre></div><br /><p>It also wouldn’t hurt to check for the presence of a file in the directory before opening it.</p>]]></description>
			<author><![CDATA[null@example.com (sparrow)]]></author>
			<pubDate>Thu, 07 Mar 2024 19:08:03 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=50444#p50444</guid>
		</item>
		<item>
			<title><![CDATA[Re: TWebBrowser Container]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=50432#p50432</link>
			<description><![CDATA[<p>Hi Sparrow,<br />Everything&#039;s working well now.<br />Thanks for your help.<br />Derek.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Thu, 07 Mar 2024 00:06:57 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=50432#p50432</guid>
		</item>
		<item>
			<title><![CDATA[Re: TWebBrowser Container]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=50431#p50431</link>
			<description><![CDATA[<p>Hi Derek,</p><p>The simplest solution is to create a blank page (html file) or with an inscription. If the request does not return a name, load a blank page.</p><div class="codebox"><pre><code>procedure Form1_TableGrid1_OnCellClick (Sender: TObject; ACol, ARow: Integer);                                          //** if column2 clicked, then retrieve the relevant .pdf file
begin
  if acol = 2 then
    begin
      vpath := sqlexecute(&#039;select doclocation_filename from mydocuments where id = &quot;&#039;+form1.tablegrid1.sqlvalue+&#039;&quot;&#039;);
      vweb.navigate(vpath);
      if vpath = &#039;&#039; then vweb.navigate(&#039;C:\  . . . \pdf document viewer\documents\empty.html&#039;);

    end;
end;</code></pre></div><br /><p>The option of permanently re-creating TWebBrowser is also possible.</p>]]></description>
			<author><![CDATA[null@example.com (sparrow)]]></author>
			<pubDate>Wed, 06 Mar 2024 22:17:58 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=50431#p50431</guid>
		</item>
		<item>
			<title><![CDATA[TWebBrowser Container]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=50430#p50430</link>
			<description><![CDATA[<p>Hi All,<br />Some help if anyone has any ideas please.<br />I have an application that holds information about .pdf files.<br />When you run the application, if you click in Column 2 (View) the .pdf file is opened in a TWebBrowser container (see screenshot1 in the attachment).&nbsp; <br />When you click on a new row, a new .pdf is displayed.<br />The problem is when there is a row of data with no associated .pdf;&nbsp; in this case, the previously selected .pdf is still displayed (see screenshot1 in the attachment).<br />What I am trying to do is clear the TWebBrowser container when there is no associated .pdf but have not had any success so far.<br />I&#039;m using MVD 6.5 with SQLite and running Windows 10.<br />Thanks in advance for any help,<br />Derek.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Wed, 06 Mar 2024 21:32:01 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=50430#p50430</guid>
		</item>
	</channel>
</rss>
