geometry manager - force resize
Richard Gaskin
ambassador at fourthworld.com
Mon Mar 15 22:15:32 EST 2004
rodney tamblyn wrote:
>
> I don't know if this is orthodox, but it seems to work:
>
> If you sometimes find that when you go to a particular card the
> geometry manager is not resizing the objects, you can do the following:
>
> try
> resizeStack
> catch err
> end try
>
> if you don't surround the resizeStack in a try/catch you will get a
> script error - because you don't have a resizeStack handler. However
> the geometry manager will now resize the stack elements. Anyway, it
> works.
Hmmm... I'd thought that calls to native messages only failed when using
"send" to explicitely send it to an object.
I missed the original post, but if using the GM is problematic for that
layout would writing a resizeStack handler cover it?
--
Richard Gaskin
Fourth World Media Corporation
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the use-livecode
mailing list