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

Native Development

Reply
Regular Contributor
wibi_okezone
Posts: 51
Registered: ‎04-24-2013
My Device: Z10

Hide Action Menu When Scrolling Page

How to hide action menu when scrolling up and show again when scrolling down ? 

Developer
rcebryk
Posts: 84
Registered: ‎12-01-2012
My Device: 9790

Re: Hide Action Menu When Scrolling Page

I think it can be done with: https://developer.blackberry.com/cascades/reference/bb__cascades__page.html#property-actionmenuvisua...

 

Probably it should be set to  ActionMenuVisualState::AnimatingToHidden

Lublin BlackBerry Developer Group


---
If I helped you please mark my response as solution or "Like" it.
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

Re: Hide Action Menu When Scrolling Page

Actually I believe he needs to use this one: https://developer.blackberry.com/cascades/reference/bb__cascades__page.html#property-actionbarautohi... (Note, it's available only since 10.1.)


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
rcebryk
Posts: 84
Registered: ‎12-01-2012
My Device: 9790

Re: Hide Action Menu When Scrolling Page

You're right. I didn't have the IDE to check this.

Lublin BlackBerry Developer Group


---
If I helped you please mark my response as solution or "Like" it.
Regular Contributor
wibi_okezone
Posts: 51
Registered: ‎04-24-2013
My Device: Z10

Re: Hide Action Menu When Scrolling Page

Oh thanks for your replying, i try to use scrollview, and it works to hide when i scroll up and show when scroll down, but there is large space at the bottom of page..