stack position and flicker

Bob Hartley rev at armbase.com
Sun Oct 2 16:40:52 EDT 2005


You wrote:

Hi Ken

> On 10/2/05 1:39 PM, "rev at armbase.com" <rev at armbase.com> wrote:
Snip how I did it.

> on mouseUp
>   put the rect of stack "Armbase" into tRect
>   put (item 2 of tRect) + 550 into item 4 of tRect
>   set the rect of stack "Armbase" to tRect
>   hide button Expand
>   show button Collapse
> end mouseUp

Ken this is perfect, simple and elegant.

also  works for the collapse

 on mouseUp
   put the rect of stack "Armbase" into tRect
   put (item 2 of tRect) + 35 into item 4 of tRect
   set the rect of stack "Armbase" to tRect
   hide button Expand
   show button Collapse
 end mouseUp

Best regards
Bob; Sunny Scotland



More information about the use-livecode mailing list