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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
New Contributor
evsdev
Posts: 3
Registered: ‎02-01-2013
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!

Please use plain text.
Developer
Zmey
Posts: 883
Registered: ‎12-18-2012

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-...

Please use plain text.