Welcome!

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

Reply
Highlighted
Trusted Contributor
Posts: 100
Registered: ‎03-31-2012
My Device: Blackberry 9780
My Carrier: Telkomsel

Open File Directory Button Doesn't Have Hover

[ Edited ]

In the example form input control, I get a bit of a problem is when I point the cursor to open the file, is not located in the hover (colored blue) but NOT visible. Please help to fix this problem. I have attached a picture when I hover the key.

 

I'm use BB06 with Trackpad to navigate control's and bbUI 0.9.4

 

Please see pictures below

 

 

Pic 1 : When cursor focus in textbox

 

 

 

 

Pic 2 : When cursor focus in BROWSE button

(Do you see the button hover ????)

 

 

 

 

Pic 3 : When i click the BROWSE button

 

Regards,
Bertho
Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Open File Directory Button Doesn't Have Hover

bbUI doesn't style file inputs for BB6/7.. So far only on PlayBook and BB10.

 

You will have to draw your own focus on the input by adding your own onmouseover and onmouseout events that change the CSS of the file input to draw it to look focused.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Trusted Contributor
Posts: 100
Registered: ‎03-31-2012
My Device: Blackberry 9780
My Carrier: Telkomsel

Re: Open File Directory Button Doesn't Have Hover

I also found the same thing with Checkbox and Radio Button control. The same thing happens as well. What could I use that style in javascript?

Regards,
Bertho
Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Open File Directory Button Doesn't Have Hover

The same scenario as with the file input.  You'll need to use the mouseover and mouseout events to apply CSS to the checkbox and radio buttons to appear in a highlighted state.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Trusted Contributor
Posts: 100
Registered: ‎03-31-2012
My Device: Blackberry 9780
My Carrier: Telkomsel

Re: Open File Directory Button Doesn't Have Hover

Ok, i will try this...

Regards,
Bertho
Trusted Contributor
Posts: 100
Registered: ‎03-31-2012
My Device: Blackberry 9780
My Carrier: Telkomsel

Re: Open File Directory Button Doesn't Have Hover

I have tried some javascript to do this, but still have problems. There may of you who have added this hover function? Or it could give me an example?

Regards,
Bertho