# TextField.onSetFocus() and tabIndex

**URL:** <https://forum.kirupa.com/t/textfield-onsetfocus-and-tabindex/223027>\
**Category:** flash\
**Created:** [April 18, 2007, 8:24pm UTC](https://forum.kirupa.com/t/textfield-onsetfocus-and-tabindex/223027 "2007-04-18T20:24:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![creatify](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@creatify](https://forum.kirupa.com/u/creatify)\
**Post date:** [April 18, 2007, 8:24pm UTC](https://forum.kirupa.com/t/textfield-onsetfocus-and-tabindex/223027/1 "2007-04-18T20:24:10Z")

</div>

hey there - I have a form with numerous input boxes. I’ve set tab orders to tab through the fields. In this scenario, I actually LIKE the edge highlight that appears around the textField when tabbing through them. However, this dissappears for any textFiled that I placed an onSetFocus event.

Anyone know how to retain the border highlight without manually setting border colors on tab through?

Thanks!
