--- Howard Bornstein <[EMAIL PROTECTED]> wrote: > to lock and unlock a text field. > I had this script in my home stack: > > on mousewithin > global currentTarget > put the target into currenttarget > if currenttarget contains "field" then > if the commandkey is down and the shiftkey > is down then > set locktext of currenttarget to not > locktext of currenttarget > wait 20 -- just so you don't toggle it on > and off if someone > -- leaves the option key down > end if > end if > end mousewithin > > This script doesn't work in Revolution (unless > it's in the actual field > you're trying to affect. It won't work in the > stack script.) > > Apparently the mousewithin message doesn't > travel up the hierarchy like > it does in HC. Can you tell me why?
there is a similar handler in the Winkler/ De Voto book using mouseUp. this works for me in 1.1 ===== [EMAIL PROTECTED] http://www.erikhansen.org __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
