<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — problem with text box]]></title>
	<link rel="self" href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=733&amp;type=atom" />
	<updated>2020-01-18T19:55:28Z</updated>
	<generator>PunBB</generator>
	<id>http://forums.approximatrix.com/viewtopic.php?id=733</id>
		<entry>
			<title type="html"><![CDATA[Re: problem with text box]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3409#p3409" />
			<content type="html"><![CDATA[<p>That would occur most likely because the C function (most of AppGraphics is in C) is called directly rather than via a Fortran wrapper.&nbsp; I can make sure anything accepting a logical in AppGraphics is expecting a common LOGICAL(4) instead.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2020-01-18T19:55:28Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3409#p3409</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: problem with text box]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3408#p3408" />
			<content type="html"><![CDATA[<p>Jeff.<br />Thanks for the explanation. I have also noticed inconsistency (?) in the use of logical kind.<br />For example, enabletextbox procedure accepts LOGICAL(4) whereas e.g. checkboxsetchecked<br />requires LOGICAL(1). Is it on purpose? I am using SF 3.8<br />Carlos</p>]]></content>
			<author>
				<name><![CDATA[Carlos Herrera]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=407</uri>
			</author>
			<updated>2020-01-18T12:49:58Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3408#p3408</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: problem with text box]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3405#p3405" />
			<content type="html"><![CDATA[<p>Carlos,</p><p>The <em>settextjustify</em> call was not originally supposed to affect text boxes.&nbsp; The AppGraphics text box is implemented via a <a href="https://docs.microsoft.com/en-us/windows/win32/controls/edit-control-styles">Windows Edit Control</a>.&nbsp; When you set the horizontal justification using <em>settextjustify</em> in AppGraphics, the text box is assigned the appropriate style, <em>ES_LEFT</em>, <em>ES_RIGHT</em>, or <em>ES_CENTER</em>, as shown on the <a href="https://docs.microsoft.com/en-us/windows/win32/controls/edit-control-styles">linked page</a>.&nbsp; However, Windows does not provide a way to vertically justify text in a box, at least as simply as the horizontal justification.</p><p>So the above is an explanation for the current behavior.&nbsp; I&#039;m not sure we&#039;d be able to implement the vertical justification for the text box.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2020-01-17T12:30:55Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3405#p3405</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[problem with text box]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=3402#p3402" />
			<content type="html"><![CDATA[<p>Jeff,<br />It seems, that text in textbox is always top-justified, independently<br />on vert settings defined by calling settextjustify procedure (SF 3.7).<br />Carlos</p>]]></content>
			<author>
				<name><![CDATA[Carlos Herrera]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=407</uri>
			</author>
			<updated>2020-01-15T21:28:46Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=3402#p3402</id>
		</entry>
</feed>
