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
Developer
mikefromcanada
Posts: 71
Registered: ‎02-06-2013
My Device: 9900

blackberry.ui.cover troubles

[ Edited ]

I'm having a bit of troulbe getting blackberry.ui.cover to behave as I'd expect.

As a really simple example, I want the Window Cover to count up from 0, incrementing once every 10 seconds.

 

The problem I'm running into is that blackberry.ui.cover.labels.push seems to stop after displaying 3 lines.

In other words, the bottom of my window cover only displays the first 3 numbers.

 

Is there some sort of function like blackberryui.cover.labels.pop to clear the existing labels off the window cover to make room for new labels?

 

Edit: Forgot to mention, I tried using blackberry.ui.cover.resetCover() which sort of works, but it causes a strange graphics glitch whenever the frame resets (displays the default view for a second).

 

(@10 seconds)
1

(@20 seconds)
1
2

(@30 seconds)
1
2
3

(@40 seconds & afterwards)
1
2
3

 

Please use plain text.