Standalone cuts off stack

J. Landman Gay jacque at hyperactivesw.com
Tue Dec 21 17:58:51 EST 2004


On 12/21/04 3:25 PM, Frank D. Engel, Jr. wrote:

> No, setting the height of a card should have no effect.  The trick is to 
> figure out the height of the stack when the menu bar is displayed in the 
> stack, then set the height of the stack to that value from within the 
> preOpenStack handler.

Sorry, I didn't say it right the first time. What I should have said 
was, I need to set the height of the stack to the height of the card. 
The height of the card always includes the height of the menu bar group. 
(Which may save you some time in the future, since there is nothing to 
"figure out"; the card height is always the same whether the card has 
been scrolled or not.)

Or am I still off base?

> 
> On Dec 21, 2004, at 4:05 PM, J. Landman Gay wrote:
> 
>> On 12/21/04 7:07 AM, Frank D. Engel, Jr. wrote:
>>
>>> I have noticed that the menubar seems to resize the stack somewhere 
>>> between preOpenStack and openStack.  If you set the stack height in 
>>> preOpenStack, you need to set it as if the menu bar were in the stack 
>>> window (Windows/UNIX style), and if you set it in the openStack 
>>> handler, you need to consider the platform and set it to the desired 
>>> height for the platform you are on (which is a visible process).
>>
>>
>> Makes sense, and I could implement this. I suspect the problem has 
>> something to do with the distribution builder though, as it doesn't 
>> happen when I build in MetaCard. In MC, building a standalone is a 
>> transparent process where you don't have to consider the stack size at 
>> all.
>>
>> For now, I'll set the height of the card rather than the stack. That 
>> is what you are describing, I think.
>>
>> -- 
>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>> HyperActive Software           |     http://www.hyperactivesw.com
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
> -----------------------------------------------------------
> Frank D. Engel, Jr.  <fde101 at fjrhome.net>
> 
> $ ln -s /usr/share/kjvbible /usr/manual
> $ true | cat /usr/manual | grep "John 3:16"
> John 3:16 For God so loved the world, that he gave his only begotten 
> Son, that whosoever believeth in him should not perish, but have 
> everlasting life.
> $
> 
> 
> 
> ___________________________________________________________
> $0 Web Hosting with up to 120MB web space, 1000 MB Transfer
> 10 Personalized POP and Web E-mail Accounts, and much more.
> Signup at www.doteasy.com
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> 


-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the use-livecode mailing list