resize in browse mode

Bob Hartley rev at armbase.com
Sun Dec 26 18:10:59 EST 2004


At 22:45 26/12/2004, you wrote:
>On 12/26/04 6:59 AM, "Bob Hartley" <rev at armbase.com> wrote:

Hi Ken

Happy Christmas


>Happy Christmas, Bob!
>
>Try this:
>
>on mouseStillDown
>   if the altKey is down then
>     put the rect of me into tRect
>     put the mouseH into item 3 of tRect
>     put the mouseV into item 4 of tRect
>     set the rect of me to tRect
>   end if
>end mouseStillDown


Still no luck with this.

I opened a new stack, created one text field (control-e to get to the 
script editor for the object) pasted in the code.

Tyen I went back to browse and tried holding down ALT and dragging out the 
field.

It didn't resize.

Any alternative?

Cheers
Bob


>This is kind of crude (i.e. it doesn't take into account the different in
>offset from the bottom-right of the field and the location of the mouse),
>but you get the idea.
>
>
>Ken Ray
>Sons of Thunder Software
>Web site: http://www.sonsothunder.com/
>Email: kray at sonsothunder.com
>
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list