Geometry in latest version of RunRev

Sarah Reichelt sarah.reichelt at gmail.com
Sun Oct 21 21:49:19 CDT 2007


> The GM is good for what it does, but it can't anticipate all possible
> combinations of object-ordering needs, and will fail in some cases.
>
> Writing one's one geometry management is so simple that I never
> understood why RunRev saddled themselves with writing 40k of GM script
> just for a subset of needs.
>
> Just use the resizeStack message, and you can trim most object resizing
> to one-line calls using a custom function:
>

I agree with Richard. Writing your own gives you far better control.
However I have 2 custom handlers: one sets the rect like Richard's and
the other sets the loc, which is more convenient for buttons that
don't need to resize, just move.

Cheers,
Sarah



More information about the use-livecode mailing list