geometry manager - force resize

Monte Goulding monte at sweattechnologies.com
Mon Mar 15 18:20:31 EST 2004


> 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.

See the revUpdateGeometry docs

Cheers

Monte


More information about the use-livecode mailing list