Hi Mike:

This little arrangement ought to do the trick. And it *is*
fast!

on mouseDown
  grab me
end mouseDown

on mouseMove
  set the rect of group "Spread" to the topleft of group
"Spread",the bottomright of me
end mouseMove

Please note that this only adjusts the size of the group,
but not the items in it.

Cheers,

Raymond

> From: [EMAIL PROTECTED]
> Subject: Re: toggle
> Date: Thu, 18 Jan 2001 22:18:55 EST
> MIME-Version: 1.0
> Content-Type: text/plain; charset="US-ASCII"
> Content-Transfer-Encoding: 7bit
>
> Does anyone have a handler to change the size of a group
(height and width)
> using a mouseDown or mouseDrag(?) type of command. I have
several fields
> grouped together. I want a button or other object that
toggles the size of
> this group to adjust for the diferent sizes of user
computer screens. I kind
> of remember a "grow" handler written in hypertalk..
> thanks
> [EMAIL PROTECTED]
>
.n147 ---------------


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to