-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi, what's the trick to getting Button to take focus from the tab key?
Running this and hitting TAB should make the button take focus, yes?
<window> <textbox id="b"/> <zscript> b.focus(); </zscript> <button label="Hey" /> </window>
Thanks.
/Daryl
I've tried your test code on FF3, and safari, and both of them work for me.
this is weird.
/robbie
Really?!?! More details, I'm on a Mac 10.4.11, FireFox 3.0.7 and Safari 3.2.1. The above doesn't work for me on the live demo, either. The button is never highlighted no matter how many times I TAB in either browser! Could I have some crazy OS setting causing this? Can anybody else confirm the behavior I'm getting or Robbie is getting on a variety of platforms? Thanks.
/Daryl
Asked: 2009-03-09 15:28:30 +0800
Seen: 255 times
Last updated: Mar 12 '09