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
Contributor
lvandyk
Posts: 19
Registered: ‎07-17-2012
My Device: BB 10 Alpha Device
My Carrier: Vodacom
Accepted Solution

How to signal a TabbedPane page has been clicked?

If I create a TabbedPane, how do I execute a function when a page is changed?

Please use plain text.
Contributor
AleksDef
Posts: 42
Registered: ‎05-30-2012
My Device: Simulator
My Carrier: Developer

Re: How to signal a TabbedPane page has been clicked?

https://developer.blackberry.com/cascades/reference/bb__cascades__tabbedpane.html#activetabpanechang...

 

That is the signal you'll want to attach a slot to (which in turn, can call the function you want to execute, or be that function). If you don't know how, visit these links:

 

https://developer.blackberry.com/cascades/documentation/ui/signals_slots/index.html

 

https://developer.blackberry.com/cascades/documentation/ui/javascript/index.html

Please use plain text.