Closing palettes

Keith Clarke keith.clarke at clarkeandclarke.co.uk
Thu Mar 10 12:12:29 EST 2011


...how about

on mouseUp
  go to previous card
  close stack "FLOATER"
end mouseUp

BTW As one who enjoys the surf, I try to avoid floaters whenever possible ;-)

On 10 Mar 2011, at 17:06, Richmond wrote:

> I have a palette that is a substack of a multi-card stack (i.e. nothing
> screamingly original) called "FLOATER".
> 
> On the palette I have a close 'iocn' and when the end-user clicks on it
> it execute this script:
> 
> on mouseUp
>   close stack "FLOATER"
> end mouseUp
> 
> which it does . . . . . which is all jolly well and fine, BUT . . . it also returns the main
> multi-card stack to card 1 every time; something I should like to prevent.
> 
> ???
> 
> Pretty Please.
> 
> Richmond.
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list