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
New Contributor
Posts: 3
Registered: ‎02-01-2013
My Device: 9900
My Carrier: Rogers
Accepted Solution

Dynamic QML buttons

Is it possible to create dynamic buttons in QML?

 

I'd like to create a variable array of buttons within QML, I won't know how many I will need until runtime.  It does not appear to be possible to do this within QML.  If it is possible is there an example that I could refer to?

 

Thanks!

Developer
Posts: 1,523
Registered: ‎12-18-2012
My Device: Z30, Z10 LE, DevAlpha C, PlayBook

Re: Dynamic QML buttons

Hi! This can be done. We discussed a similar topic today, please check this thread:

http://supportforums.blackberry.com/t5/Cascades-Development/How-to-Add-the-one-container-in-another-...


Andrey Fidrya, @zmeyc on twitter