> on mouseUp
>    put the short name of the topStack into activeStack
>    lock screen
>    lock messages
>    push cd
>    go activeStack
>    repeat with i=1 to the number of flds
>      set cursor to busy
>      set lockText of fld i to not (lockText of fld i)
>    end repeat
>    pop cd
> end mouseUp
>
> Is this the way you're meant to do it? It seems a little 
> clumsy - especially with the lock screen; push cd; go...; pop 
> cd stuff.

No, you should be able to do this (but only when the palette's really a
palette):

on mouseUp
  set the defaultStack to the topStack
  repeat with i=1 to the number of flds
    set cursor to busy
    set lockText of fld i to not (lockText of fld i)
  end repeat
end mouseUp

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/ 


_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to