<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — AppGraphics AutoTextProject]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=891</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=891&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in AppGraphics AutoTextProject.]]></description>
		<lastBuildDate>Sat, 08 Apr 2023 01:08:18 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AppGraphics AutoTextProject]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4094#p4094</link>
			<description><![CDATA[<p>Jeff,</p><p>You are correct about keeping track of file and object unit numbers. With some better accounting of the open and closed unit numbers, the createmultilinetextbox appears to now work correctly.&nbsp; By adding Save and Print routines, I can now Read data from a text file, edit the text, then Save it, and Print it.&nbsp; Even though this can more easily be done with any notepad, having the ability to add this functionality to SF applications is a nice addition. Nice work.</p><p>Frank</p>]]></description>
			<author><![CDATA[null@example.com (drfrank)]]></author>
			<pubDate>Sat, 08 Apr 2023 01:08:18 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4094#p4094</guid>
		</item>
		<item>
			<title><![CDATA[Re: AppGraphics AutoTextProject]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4093#p4093</link>
			<description><![CDATA[<p>Frank,</p><p>I&#039;ll look into it a bit more. There&#039;s a good chance there is an issue in the C&lt;-&gt;Fortran interfacing there or I&#039;m not seeing a problem.</p><p>Out of curiosity, are you reusing a unit number?&nbsp; That could cause some problems.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Fri, 07 Apr 2023 20:09:44 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4093#p4093</guid>
		</item>
		<item>
			<title><![CDATA[Re: AppGraphics AutoTextProject]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4092#p4092</link>
			<description><![CDATA[<p>Hi Jeff,</p><p>UPDATE: Your suggestion does, in fact, clear the textbox using either buffer=&quot;&quot; or buffer=&quot; &quot;.</p><p>However, I&#039;m likely trying to use the textbox for something it was not intended to be used for.<br />When repeatedly (usually 3 times) Reading data, then Saving the textbox to a file, and Clearing it again, I receive an abort error from the autotext.f90 subroutine isfortranunitopen. I&#039;m not exactly sure of the cause of the problem. I&#039;ve also seen a recursive error from the same autotext.f90 subroutine.&nbsp; The problem is likely with my code and not your createmultilinetextbox routine.</p><p>Frank</p>]]></description>
			<author><![CDATA[null@example.com (drfrank)]]></author>
			<pubDate>Fri, 07 Apr 2023 17:54:34 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4092#p4092</guid>
		</item>
		<item>
			<title><![CDATA[Re: AppGraphics AutoTextProject]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4091#p4091</link>
			<description><![CDATA[<p>Frank,</p><p>A call to <em>settextboxcontents</em> with an empty or all-spaces string should clear the contents.&nbsp; Perhaps a more explicit interface would be nice, though.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Fri, 07 Apr 2023 11:43:08 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4091#p4091</guid>
		</item>
		<item>
			<title><![CDATA[Re: AppGraphics AutoTextProject]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4090#p4090</link>
			<description><![CDATA[<p>Jeff,</p><p>Is there a programmatically way of &quot;Clearing&quot; (deleting) text in an already population multi-line textbox?</p><p>For example, when text is written to the textbox, I would like to delete all the contents, and then repopulated it.</p><p>A clear_textbox() function or something like that would help.</p><p>Frank</p>]]></description>
			<author><![CDATA[null@example.com (drfrank)]]></author>
			<pubDate>Thu, 06 Apr 2023 17:43:05 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4090#p4090</guid>
		</item>
		<item>
			<title><![CDATA[Re: AppGraphics AutoTextProject]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4087#p4087</link>
			<description><![CDATA[<p>Frank,</p><p>You would have to take that step manually.&nbsp; The example code opens the file to display in read-only mode and attempts to display the results as the file updates.&nbsp; If you wanted to save the text box contents, which could have notes, you&#039;d need to manually offer that to users.&nbsp; I would think some indicator that the contents are modified to encourage saving might be sufficient.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Tue, 04 Apr 2023 16:36:31 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4087#p4087</guid>
		</item>
		<item>
			<title><![CDATA[Re: AppGraphics AutoTextProject]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4086#p4086</link>
			<description><![CDATA[<p>Jeff,</p><p>Thanks for your prompt reply to my question. Adding the link to the library -lshlwapi worked perfectly.</p><p>However, I have one further question regarding the MultiLineTextBox object.&nbsp; I noticed that it&#039;s possible to scroll and type within the textbox even after the results are displayed.</p><p>So to my question, once the results are displayed and comments referring to the results are added manually by typing them in the text box, would it be possible to have the typed-in comments saved with the results file itself? Currently, they are not saved.</p><p>Frank</p>]]></description>
			<author><![CDATA[null@example.com (drfrank)]]></author>
			<pubDate>Tue, 04 Apr 2023 16:23:14 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4086#p4086</guid>
		</item>
		<item>
			<title><![CDATA[Re: AppGraphics AutoTextProject]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4085#p4085</link>
			<description><![CDATA[<p>Frank,</p><p>The project requires another library for linking, <em>shlwapi</em>, that provides those functions.&nbsp; They&#039;re standard Windows API calls.&nbsp; Make sure your linking flags include at least the following:</p><div class="codebox"><pre><code>-lappgraphics -lgdi32 -lcomdlg32 -lcomctl32 -luuid -loleaut32 -lole32 -lshlwapi</code></pre></div><p>and it should compile fine.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Sun, 02 Apr 2023 22:13:26 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4085#p4085</guid>
		</item>
		<item>
			<title><![CDATA[AppGraphics AutoTextProject]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=4082#p4082</link>
			<description><![CDATA[<p>Hi Jeff,</p><p>I was unable to compile your AutoText MultiLine project example using MS Windows 10 and SF 3.29. I received the following error but don&#039;t know the reason for the error.</p><p>BTW, At first read, it appears that your application of real-time multi-line printing has the potential to be a useful addition to Simply Fortran&#039;s toolbox.</p><p>Frank</p><p>==============================================================================<br />Generating Makefile... Okay<br />==============================================================================<br />Processing default resource<br />Generating multilinetextbox.exe<br />build\autotext_thread.o:autotext_thread.c:(.text+0x141): undefined reference to `_imp__PathIsRelativeA@4&#039;<br />build\autotext_thread.o:autotext_thread.c:(.text+0x1ec): undefined reference to `_imp__PathCombineA@12&#039;<br />build\autotext_thread.o:autotext_thread.c:(.text+0x26a): undefined reference to `_imp__PathRemoveFileSpecA@4&#039;<br />collect2.exe: error: ld returned 1 exit status<br />Error: Last command making (multilinetextbox.exe) returned a bad status<br />Error: Make execution terminated</p><p>* Failed *</p>]]></description>
			<author><![CDATA[null@example.com (drfrank)]]></author>
			<pubDate>Sun, 02 Apr 2023 15:21:58 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=4082#p4082</guid>
		</item>
	</channel>
</rss>
