<!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>> Try using the latest beta - version 1.1.1B1. It seems much </FONT>
<BR><FONT SIZE=2>> more stable than</FONT>
<BR><FONT SIZE=2>> the release version.</FONT>
<BR><FONT SIZE=2>> </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.  (NOTE: Both of these only happen</FONT>
<BR><FONT SIZE=2>after using it for a while.  </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 "tabbed button" and the text for the tabs are</FONT>
<BR><FONT SIZE=2>something like:</FONT>
</P>

<P><FONT SIZE=2>"Sect. 1, 2, and 3"</FONT>
<BR><FONT SIZE=2>"Sect. 2, and 4"</FONT>
<BR><FONT SIZE=2>"Sect. 5, 6, and 7"</FONT>
<BR><FONT SIZE=2>"Sect. 8"</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>   go to card the selectedtext of me of stack "FAA Form 337"</FONT>
<BR><FONT SIZE=2>end mouseUp</FONT>
</P>

<P><FONT SIZE=2>As a result i have several cards with the same names "Sect. 1, 2, and</FONT>
<BR><FONT SIZE=2>3", "Sect. 5, 6, and 7", etc.  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.  I dont' have the exact string, because I have recently</FONT>
<BR><FONT SIZE=2>corrected it. But it is something like:  "Sect. 1/REVOLUTION01</FONT>
<BR><FONT SIZE=2>2/REVOLUTION01 3/REVOLUTION01".  It works for a while and then it</FONT>
<BR><FONT SIZE=2>screws up. It looks like it is choking on the "," character.</FONT>
</P>

<P><FONT SIZE=2>> needs to get access to</FONT>
<BR><FONT SIZE=2>> > the controls on it's parent stack....</FONT>
<BR><FONT SIZE=2>> Use "the mainStack of this stack". This gives you the name of </FONT>
<BR><FONT SIZE=2>> the parent</FONT>
<BR><FONT SIZE=2>> 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.. ;<</FONT>
</P>

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

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

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

<P><FONT SIZE=2>The problem with this is it has the "Form" 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...  Any ideas?  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>> Points I guess, same as when you select a font size from a </FONT>
<BR><FONT SIZE=2>> normal font menu</FONT>
<BR><FONT SIZE=2>> in any application.</FONT>
<BR><FONT SIZE=2>> </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>> Another idea to consider is using the formattedWidth, the </FONT>
<BR><FONT SIZE=2>> formattedHeight &</FONT>
<BR><FONT SIZE=2>> the formattedText to arrange your fields or text to fit.</FONT>
<BR><FONT SIZE=2>> </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.  It seems </FONT>
<BR><FONT SIZE=2>like an interesting angle.</FONT>
</P>

<P><FONT SIZE=2>> If you save the stack, they'll be there next time. Otherwise </FONT>
<BR><FONT SIZE=2>> they will be</FONT>
<BR><FONT SIZE=2>> gone next time the stack is opened, but not between uses if </FONT>
<BR><FONT SIZE=2>> the application</FONT>
<BR><FONT SIZE=2>> is left open. Do you need to create new fields? Perhaps you </FONT>
<BR><FONT SIZE=2>> could make them</FONT>
<BR><FONT SIZE=2>> in advance but have them hidden.</FONT>
<BR><FONT SIZE=2>> </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.  So there is some</FONT>
<BR><FONT SIZE=2>sort of "designer" 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>"openStack" which adds fields to the form and then do a "closeStack".</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?  I think what you are suggesting is to not do the</FONT>
<BR><FONT SIZE=2>"closeStack" and just let it stay open. In a "built application" 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>> > </FONT>
<BR><FONT SIZE=2>> > #7. Originally what I wanted to do was set a TIFF image </FONT>
<BR><FONT SIZE=2>> (converted to a PNG)</FONT>
<BR><FONT SIZE=2>> > as a background for the printed page...</FONT>
<BR><FONT SIZE=2>> Can't help here but I am interested in any ideas that you get </FONT>
<BR><FONT SIZE=2>> from other</FONT>
<BR><FONT SIZE=2>> 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.  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 "commands" 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>> </FONT>
<BR><FONT SIZE=2>> Cheers,</FONT>
<BR><FONT SIZE=2>> Sarah</FONT>
</P>

</BODY>
</HTML>