Wow, that's really strange, I tried it without your code to resize the
buttons, and even with "lock location" set, as you successively press the
buttons, the motif button starts shrinking and the windows one grows and the
Mac ones get a little wider than they started out!

Anyway as I observed what was happening, I figured out why and how to
prevent it. The problem has to do with the buttons being resized based on
their focus ring, so to prevent the problem set the showfocusborder property
to false.

Nevertheless, this is a bug and should be submitted to Metacard.

-Glen Yates

> -----Original Message-----
> From: erik hansen [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 15, 2002 8:25 PM
> To: [EMAIL PROTECTED]
> Subject: visuals
> 
> 
> 
> on gv
>   go stack "Visuals"
> end gv
> 
> "Visuals" is a small stack with 4 radio buttons.
> each button has this mouseUp handler: 
> 
> on mouseUp
>   fixLnF
> end mouseUp
> 
> on fixLnF
>   put "appearance manager,windows" \   
>   & "95,motif,macintosh" into theLooks
>   set the lookAndFeel to \
>  (the short name of the target)
>   repeat with i = 1 to 4
>     put "control" && quote & \
>     (item i of theLooks) & quote into obj
>     set the height of obj to 30
>     set the width of obj to 122
>     set the left of obj to 750
>     set the top of obj to -20 + (i * 35)
>   end repeat
> end fixLnF
> 
> the buttons squiggle around and need to be
> realigned. the lookAndFeel property can be
> observed on the other open stacks.
> 
> =====
> [EMAIL PROTECTED]    http://www.erikhansen.org
> 
> __________________________________________________
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos & More
> http://faith.yahoo.com
> _______________________________________________
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard
> 
_______________________________________________
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Reply via email to