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
Posts: 32
Registered: ‎10-03-2011
My Device: 9900
My Carrier: developer

Dynamic array

Hi,

 

How to Create dynamic array?

please help me

Developer
Posts: 216
Registered: ‎09-18-2009
My Device: Z10
My Carrier: O2

Re: Dynamic array

In QML:

 

var arr = new Array();
arr.push(element);

 

Highlighted
Contributor
Posts: 32
Registered: ‎10-03-2011
My Device: 9900
My Carrier: developer

Re: Dynamic array

hi,

 

Thanks for reply

 

property variant changepasswrd: []

 

changepasswrd = new Array()

changepasswrd.push("one");

changepasswrd.push("two");

 

changepasswrd array i need throught Application.