<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: use-revolution digest, Vol 1 #248 - 12 msgs</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>&gt; Try using the latest beta - version 1.1.1B1. It seems much </FONT>
<BR><FONT SIZE=2>&gt; more stable than</FONT>
<BR><FONT SIZE=2>&gt; the release version.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
</P>

<P><FONT SIZE=2>I have tried this one, but it seems to have a bunch of problems too.</FONT>
<BR><FONT SIZE=2>Though it is more stable, I have to keep restarting because little </FONT>
<BR><FONT SIZE=2>things, like the fact the script edit window</FONT>
<BR><FONT SIZE=2>doesn't open up to the size I set it to. And when I have the properties</FONT>
<BR><FONT SIZE=2>field open and go from one item to another item none of the changes are</FONT>
<BR><FONT SIZE=2>reflected in the properties window.&nbsp; (NOTE: Both of these only happen</FONT>
<BR><FONT SIZE=2>after using it for a while.&nbsp; </FONT>
</P>

<P><FONT SIZE=2>On a related subject, with both versions of this I have found a *VERY*</FONT>
<BR><FONT SIZE=2>odd problem. I have a &quot;tabbed button&quot; and the text for the tabs are</FONT>
<BR><FONT SIZE=2>something like:</FONT>
</P>

<P><FONT SIZE=2>&quot;Sect. 1, 2, and 3&quot;</FONT>
<BR><FONT SIZE=2>&quot;Sect. 2, and 4&quot;</FONT>
<BR><FONT SIZE=2>&quot;Sect. 5, 6, and 7&quot;</FONT>
<BR><FONT SIZE=2>&quot;Sect. 8&quot;</FONT>
</P>

<P><FONT SIZE=2>And I do something like this in the action for the button:</FONT>
</P>

<P><FONT SIZE=2>on mouseUp</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; go to card the selectedtext of me of stack &quot;FAA Form 337&quot;</FONT>
<BR><FONT SIZE=2>end mouseUp</FONT>
</P>

<P><FONT SIZE=2>As a result i have several cards with the same names &quot;Sect. 1, 2, and</FONT>
<BR><FONT SIZE=2>3&quot;, &quot;Sect. 5, 6, and 7&quot;, etc.&nbsp; Now what happens is really strange</FONT>
<BR><FONT SIZE=2>The text of the card names actually gets changed to something else</FONT>
<BR><FONT SIZE=2>sometimes.&nbsp; I dont' have the exact string, because I have recently</FONT>
<BR><FONT SIZE=2>corrected it. But it is something like:&nbsp; &quot;Sect. 1/REVOLUTION01</FONT>
<BR><FONT SIZE=2>2/REVOLUTION01 3/REVOLUTION01&quot;.&nbsp; It works for a while and then it</FONT>
<BR><FONT SIZE=2>screws up. It looks like it is choking on the &quot;,&quot; character.</FONT>
</P>

<P><FONT SIZE=2>&gt; needs to get access to</FONT>
<BR><FONT SIZE=2>&gt; &gt; the controls on it's parent stack....</FONT>
<BR><FONT SIZE=2>&gt; Use &quot;the mainStack of this stack&quot;. This gives you the name of </FONT>
<BR><FONT SIZE=2>&gt; the parent</FONT>
<BR><FONT SIZE=2>&gt; stack. Note that if you build an application with the </FONT>
</P>

<P><FONT SIZE=2>I have tried this and I just can't get it to work.. ;&lt;</FONT>
</P>

<P><FONT SIZE=2>Here is my original line:</FONT>
</P>

<P><FONT SIZE=2>on openStack</FONT>
<BR><FONT SIZE=2>&nbsp; repeat with x = 1 to the number of lines of the cardIDs of stack &quot;Form&quot;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; repeat with y = 1 to the number of lines of the groupIDs of card x of stack &quot;Form&quot;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if the owner of control z of group y of card x of stack &quot;Form&quot; is the name of group y of card x of stack &quot;Form&quot; then</FONT></P>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if the print of group y of card x of stack &quot;Form&quot; = 1 then</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; put the name of control z of group y of card x of stack &quot;Form&quot; into theName</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; put count+1 into count</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; end repeat</FONT>
<BR><FONT SIZE=2>&nbsp; end repeat</FONT>
<BR><FONT SIZE=2>close openStack</FONT>
</P>

<P><FONT SIZE=2>The problem with this is it has the &quot;Form&quot; hardcoded and every attempt I</FONT>
<BR><FONT SIZE=2>have done to make it non-hard coded has basically failed. And my hands</FONT>
<BR><FONT SIZE=2>are sore from trying. heheeh...&nbsp; Any ideas?&nbsp; I think I am about</FONT>
<BR><FONT SIZE=2>ready to make this purchase, Revolution seems very flexible and all of</FONT>
<BR><FONT SIZE=2>the great help here on the list server is a huge asset.</FONT>
</P>

<P><FONT SIZE=2>&gt; Points I guess, same as when you select a font size from a </FONT>
<BR><FONT SIZE=2>&gt; normal font menu</FONT>
<BR><FONT SIZE=2>&gt; in any application.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
</P>

<P><FONT SIZE=2>You are correct. I have done some investigation, they are in points.</FONT>
<BR><FONT SIZE=2>And of course the font sizes are different between platforms, which</FONT>
<BR><FONT SIZE=2>truly sucks when trying to do any sort of precise layout in a</FONT>
<BR><FONT SIZE=2>cross-platform sort of way.</FONT>
</P>

<P><FONT SIZE=2>&gt; Another idea to consider is using the formattedWidth, the </FONT>
<BR><FONT SIZE=2>&gt; formattedHeight &amp;</FONT>
<BR><FONT SIZE=2>&gt; the formattedText to arrange your fields or text to fit.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
</P>

<P><FONT SIZE=2>For now I have gone with the scaling approach, but as a long-term idea I</FONT>
<BR><FONT SIZE=2>think the formattedWidth may be a better way to approach it.&nbsp; It seems </FONT>
<BR><FONT SIZE=2>like an interesting angle.</FONT>
</P>

<P><FONT SIZE=2>&gt; If you save the stack, they'll be there next time. Otherwise </FONT>
<BR><FONT SIZE=2>&gt; they will be</FONT>
<BR><FONT SIZE=2>&gt; gone next time the stack is opened, but not between uses if </FONT>
<BR><FONT SIZE=2>&gt; the application</FONT>
<BR><FONT SIZE=2>&gt; is left open. Do you need to create new fields? Perhaps you </FONT>
<BR><FONT SIZE=2>&gt; could make them</FONT>
<BR><FONT SIZE=2>&gt; in advance but have them hidden.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
</P>

<P><FONT SIZE=2>I have taken your advice on this, but the problem is I am trying to</FONT>
<BR><FONT SIZE=2>design something a bit more general purpose where the background and</FONT>
<BR><FONT SIZE=2>forms are specified externally to the application.&nbsp; So there is some</FONT>
<BR><FONT SIZE=2>sort of &quot;designer&quot; that could be used to design it and the main</FONT>
<BR><FONT SIZE=2>applicaiton which depends on what was done with the designer.</FONT>
</P>

<P><FONT SIZE=2>I just want to make sure I understand. If I do some procedure in</FONT>
<BR><FONT SIZE=2>&quot;openStack&quot; which adds fields to the form and then do a &quot;closeStack&quot;.</FONT>
<BR><FONT SIZE=2>The next time I open the stack for printing it will print new fields</FONT>
<BR><FONT SIZE=2>correct?&nbsp; I think what you are suggesting is to not do the</FONT>
<BR><FONT SIZE=2>&quot;closeStack&quot; and just let it stay open. In a &quot;built application&quot; will</FONT>
<BR><FONT SIZE=2>this present a problem when the users closes my application?. I don't</FONT>
<BR><FONT SIZE=2>want them to have the ability to save that stack, just have it exit</FONT>
<BR><FONT SIZE=2>without saving the changes.</FONT>
</P>

<P><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; #7. Originally what I wanted to do was set a TIFF image </FONT>
<BR><FONT SIZE=2>&gt; (converted to a PNG)</FONT>
<BR><FONT SIZE=2>&gt; &gt; as a background for the printed page...</FONT>
<BR><FONT SIZE=2>&gt; Can't help here but I am interested in any ideas that you get </FONT>
<BR><FONT SIZE=2>&gt; from other</FONT>
<BR><FONT SIZE=2>&gt; people.</FONT>
</P>

<P><FONT SIZE=2>I have another idea on this one, but I'm just not sure how to pull it</FONT>
<BR><FONT SIZE=2>off.&nbsp; Basically what it amounts to is a way to convert a postscript </FONT>
<BR><FONT SIZE=2>file into a file with a series of &quot;commands&quot; which would basically </FONT>
<BR><FONT SIZE=2>draw the form automatically inside of a Revolution stack. I don't </FONT>
<BR><FONT SIZE=2>know where I am going with this yet, but it would seem to solve the</FONT>
<BR><FONT SIZE=2>problem since vector-type graphics look very nice when printed from</FONT>
<BR><FONT SIZE=2>revolution.</FONT>
</P>

<P><FONT SIZE=2>- Greg</FONT>
</P>

<P><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Cheers,</FONT>
<BR><FONT SIZE=2>&gt; Sarah</FONT>
</P>

</BODY>
</HTML>