<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — How toshow a blank textrow on screen]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=624</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=624&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in How toshow a blank textrow on screen.]]></description>
		<lastBuildDate>Wed, 03 May 2017 17:55:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How toshow a blank textrow on screen]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2854#p2854</link>
			<description><![CDATA[<p>Jeff,<br />I suppose the NOTRIM flag will be an optional parameter to Outtext ? That should be fine. An additional character at the end I used already : a dot. A filled box is only a solution if rows in my edit sheet has to be overwritten.<br />regards, Klaus</p>]]></description>
			<author><![CDATA[null@example.com (Klaus Asmus)]]></author>
			<pubDate>Wed, 03 May 2017 17:55:26 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2854#p2854</guid>
		</item>
		<item>
			<title><![CDATA[Re: How toshow a blank textrow on screen]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2853#p2853</link>
			<description><![CDATA[<p>Klaus,</p><p>A string of spaces or trailing spaces will not be printed by AppGraphics because of how strings are converted from Fortran to C.&nbsp; Because Fortran doesn&#039;t have a true &quot;end of string&quot; character like C (the NULL character), spaces are regularly used as empty slots in a Fortran string.&nbsp; When preparing the string for C, the Fortran string is basically converted using the expression:</p><div class="codebox"><pre><code>TRIM(FSTRING)//C_NULL_CHAR</code></pre></div><p>The result is that trailing spaces are removed.&nbsp; If the string is only spaces, it is completely empty once it gets to the AppGraphics drawing routines.</p><p>To get around this procedure, you could do a few things:</p><p>1. Add a single character at the end of your string (like a pipe &quot;|&quot; character)</p><p>2. Draw an filled box over the old text manually</p><p>We could add an optional flag to the outtext calls, something like <em>NOTRIM</em>, in the next version (probably available next week) that would allow printing spaces.&nbsp; Perhaps that would be the ideal fix?</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Wed, 03 May 2017 11:33:38 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2853#p2853</guid>
		</item>
		<item>
			<title><![CDATA[Re: How toshow a blank textrow on screen]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2852#p2852</link>
			<description><![CDATA[<p>Jeff, there is an additional problem I have with OUTTEXT in my edit sheet by scrolling text up and down:<br />Previous text of a row has to be overwritten by new text of the row moved up or down.<br />This is no problem by formatted numerical data when it is written to a text row for edditing. <br />But if the end the row keeps input-text with different length, OUTTEXT stops with the last printable character and ignores blanks.<br />In this case the sheet gets unusable after scrolling the text.<br />What can I do to solve this problem??? <br />Regards, Klaus</p>]]></description>
			<author><![CDATA[null@example.com (Klaus Asmus)]]></author>
			<pubDate>Tue, 02 May 2017 15:43:45 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2852#p2852</guid>
		</item>
		<item>
			<title><![CDATA[How toshow a blank textrow on screen]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2851#p2851</link>
			<description><![CDATA[<p>Jeff,<br />My problem is a matter using outtext of AppGraphics:<br />Normally a blank row with text is not really useful to show on screen , but in my edit sheet I want to insert blank text rows. The purpose is that users can fill it with&nbsp; own data.<br />If&nbsp; I define that row as:<br /> row(cel%r+scroll)(4:maxcol)= &#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#039;<br />or <br />! do i = 4, maxcol; row(cel%r+scroll)(i:i) = char(32); end do<br />Outtext will show nothing; I did solve is preliminary using dots in a not so smart way as follows:<br /> row(cel%r+scroll)(4:maxcol)= &#039; .&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;.&#039;<br />Write(row(cel%r+scroll)(:3),&#039;(I3)&#039;) cel%r+scroll !... the inserted row</p><p>The next rows on screen have to be moved by one position down:<br /> do i=cel%r,maxrow&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! Re-writing changed rows <br />&nbsp; &nbsp; CALL settextxy(1,charh*(i-1)) !put row in textwindow starting at column 1<br />&nbsp; &nbsp; call Outtext(row(i+scroll)(:maxcol))<br /> end do</p><p>Is there an other way to avoid that dots?</p><p>I am working to make my edit sheet more &quot;monkey proof&quot; prior to publish it&nbsp; on my site. <br />This is only one point which I want to correct.</p><p>Regards, Klaus</p>]]></description>
			<author><![CDATA[null@example.com (Klaus Asmus)]]></author>
			<pubDate>Tue, 02 May 2017 11:14:41 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2851#p2851</guid>
		</item>
	</channel>
</rss>
