Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Posts: 68
Registered: ‎03-01-2011
My Device: Not Specified

Remove default highlight on text boxes



I'm currently developing a webworks application and I'm experiencing a different behavior on displaying an input type text. Seems that on a Curve 8520 (OS v5.0.0.509), an input text box displays properly upon focus while on a Bold 9700(OS v6 Bundle 2534), a blue highlight displays once the text box was focused. I need to make the text box transparent so as to make my display consistent with a background image properly even if the text box is on focus.


I've tried applying CSS background transparent but without success. I also saw other posts regarding the highlight and found a solution on BlackBerry Java's drawFocus so I'm wondering if I could achieve this using a widget extension. I also saw the post stating to add an additional meta tag on the html file to achieve this but it still didn't work well with my application. (<meta name="x-blackberry-defaultHoverEffect" content="false" />)


Thanks for any help on this.