0

Button tabIndex focus

asked 2009-03-09 15:28:30 +0800

dastultz gravatar image dastultz
797 8

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

delete flag offensive retag edit

6 Replies

Sort by ยป oldest newest

answered 2009-03-09 15:30:01 +0800

dastultz gravatar image dastultz
797 8

Sorry, meant to add I'm using ZK 3.5.2 on FF and Safari.

/Daryl

link publish delete flag offensive edit

answered 2009-03-11 10:00:47 +0800

robbiecheng gravatar image robbiecheng
1144 2
http://robbiecheng.sys-co...

I've tried your test code on FF3, and safari, and both of them work for me.
this is weird.

/robbie

link publish delete flag offensive edit

answered 2009-03-11 16:54:58 +0800

dastultz gravatar image dastultz
797 8

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

link publish delete flag offensive edit

answered 2009-03-12 01:06:13 +0800

robbiecheng gravatar image robbiecheng
1144 2
http://robbiecheng.sys-co...

Hi Daryl,

please post it to bug-list, and attach your system spec. thank u!

/robbie

link publish delete flag offensive edit

answered 2009-03-12 12:04:54 +0800

dastultz gravatar image dastultz
797 8

https://sourceforge.net/tracker/index.php?func=detail&aid=2684972&group_id=152762&atid=785191

/Daryl

link publish delete flag offensive edit

answered 2009-03-12 15:41:35 +0800

dastultz gravatar image dastultz
797 8

I have determined that this behavior occurs on a simple html page and therefore must be an OS problem. I've deleted the bug.

/Daryl

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-03-09 15:28:30 +0800

Seen: 251 times

Last updated: Mar 12 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More