How to add a container in another more than once in qml.

Hi all

I want to add a container to another container more than once, and many times will change according to the requirement. I try to add the container using JavaScript, but it does not work. I want to do this in qml not in the PRC.

Please provide suggestion for this.

Thanks in advance.


You can use ComponentDefinition to declare the element you want to clone:

Then create using .createObject and .add to the first container several times in a loop for.

Another way is to create a ListView and manipulate it is dataModel to create a required number of points.

Tags: BlackBerry Developers

Similar Questions

  • How do I know if I have more than one of the same song in my library, and if I do how do I remove it without deleting both copies?

    Original title: Windows 7 Media Player

    How do I know if I have more than one of the same song in my library, and if I do how do I remove it without deleting both copies?


    Duplicates would be revealed by the observation. If found you are probably followed the same
    record twice.

    Add items to the Windows Media Player library - see the monitoring records - and delete a folder
    controlled by the player.

    Remove items from the Windows Media Player library

    Add or edit media information in Windows Media Player

    The Windows Media Player library: frequently asked questions

    Getting started with Windows Media Player


    The library may be corrupted if necessary, after the media library - advanced - restore tools above...
    Reset the library will result in the loss of all of the counties of game and probably both sides.


    If you think there is duplicate in separate folders files:

    Here are a few utilities to help, be sure to remove duplicates once and good
    folder. If If doubt copy the file to another folder, delete and then check WMP.

    Here are several free utilities and they have all their benefits and their methods.

    Auslogics Duplicate File Finder is the MD5 search engine that allows you to find duplicate
    files content, without worrying other matching criteria. It would be useful, for example, when two identical
    MP3 tracks or video files
    have different names

    Easy Duplicate Finder - find and delete the duplicate - free

    AntiTwin - Installer and Portable versions - search files in double or similar-
    same binary - free

    Fast Duplicate File Finder-Free - quickly find all the files in a folder and its subfolders duplicate

    Duplicate File Finder - Smart Port Forwarding - TCP Port Scanner - TCP Tunnel Port-

    Duplicate File Finder software (pictures, mp3, iTunes)

    SearchMyFiles - free - an alternative to the "Search for files and folders" module standard
    Windows. It allows you to easily search files in your system by wildcard, by last modification/creation/last accessed: time, by file attributes, by the content of a file (text or binary search),
    and by the size of the file. SearchMyFiles allows you to make a very specific search that cannot be
    done with Windows search.

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" experience :="" bicycle="" -="" mark="" twain="" said="" it="">

  • How is it you can't use more than 126 GB of a 1.5 TB with LabVIEW Real-time hard drive?

    How is it you can't use more than 126 GB of a 1.5 TB with LabVIEW Real-time hard drive?
    It's only 8.3% of disk space!

    The national Instrument is reformat that you drive less than 126 GB or replace the drive with a less than this size.

    Please OR tell me you go fix your LabVIEW Real Time soon, and that we will not have to wait for LabVIEW RT 9.2.1 in 2011 for this one to fix.

    Readers as high as 126 GB or more have been around since mid-2002.  It's about 7 years now and LabVIEW Real-time STILL cannot use greater than 126 GB drives!  Please OR.  Do something.

    We deserve the patches for older versions of LabVIEW RT.  What about updates to LabVIEW RT.  As 7.0.2 7.1.2 7.6.2, 8.0.2, 8.2.2, 8.6.2.

    We don't need new features or versions of LabVIEW RT as 9.0 until we have some of the bugs fixed in existing versions.


  • How to get Windows 7 to recognize more than 4 GB or 8 GB USB driver for ReadyBoost?

    I have a USB stick 8 GB that I used it with Vista for ReadyBoost.  Of course Vista only recognized 4 GB for ReadyBoost, but Windows 7 is supposed to recognize more.  However, Windows 7 recognizes more than 4 GB stick for ReadyBoost.  How can I get Windows & to recognize more than 4 GB for the ReadyBoost.


    You can try to format the disk in the format exFAT?  Open computer with the inserted Flash drive.  It just right-click on it and select format.  The last option, you will see is exFAT and there, use the menu drop down.  Select and format the drive using this.  Then after it's done, right click on it again and select Properties.  You'll see the ReadyBoost tab.  Click on it and it will let you know if the device can be used and that therefore to ripped it on.

    Regards, ~ Alex T. ~.
    ~ MVP Windows desktop experience ~

  • How to repeat the same line more than once in the report 10g

    How to repeat the same line more than once in the report 10g

    If I print the barcode more than once
    in the report;

    Published by: user11106555 on May 9, 2009 05:50

    OK, thought it was just a recording, then try:

           (SELECT 1
              FROM DUAL
             CONNECT BY ROWNUM
  • Multiple press: How can I make a button to perform an action more than once?

    I am currently creating an interactive document.

    I have a map with circular buttons to points of interest. I need information to fly from the right side of the page that gives information about the area of the map that is identified by each button.

    Currently, I have all my buttons and put activities in place to work, however, each button lights up only its animation assigned only once.

    If I click on "zone 1", it evokes conscientiously information of zone 1. I've also built in a button 'Close tab' that puts information to leave the screen to reveal a clear view map. I can click on the 'X' to remove the information. When I click on the button 'zone 1' once again, nothing happens.

    Here is what I tried:

    • using fly in and fly animations to control expected to come from off the screen.
    • using trajectories to control objects want to enter from off-screen.

    In both cases, the buttons and animations have interpreted as you wish, but I can't get them to repeat!

    Help, please!

    Thank you!

    If you decide to use the swf instead of pdf, here's a way to do this.

    'Information 1' comes up on the screen. Instead of having a close box to remove, do 'Information 1' button. Define the action of this newly created button: event [click] Animation of Action [Animation] [the name of the button] Options [back]. This will allow users to perform a 'information 1' go off the screen and should be able to activate the original animation more than once. If you need a sample file to see what I mean, I can send you a.

  • HP Photosmart all-in-one is showing offline on PC & online on printer & install more than once.

    • My smart Photo printer all-in-one HP give me 2 problems, one is listed as the question for help several times.
    • It is when I add the printer & PC discovers that she, it will print the 1st time that show offline, although showing online on the wireless printer.
    • I wanted to try to change the IP address as suggested, but don't know how to do this.
    • In the second place, he moved more than once on my PC?
    • It lasts for a long time, I have a warranty & can share the printer, but I don't think that something is wrong with the printer. Thank you


    See the Article and follow the steps

  • Stop the link open more than once


    I created a button inside a document to Animate canvas.

    However when I click it, it opens to the severeral homepage times. Probably because that it loads the script whenever the timeline plays.

    How to prevent the load or avoid it to open more than once?

    The script im using is as follows:

    this.button.addEventListener ("click", fl_ClickToGoToWebPage_8);

    function fl_ClickToGoToWebPage_8() {} ("", "_blank");


    One thing to do, you can try is to remoive the listener of events inside the function so that the button open is nothing, after the opening of the window.

    this.button.addEventListener ("click", fl_ClickToGoToWebPage_8);

    function fl_ClickToGoToWebPage_8() {}

    Window.Open ("", "_blank");

    this.button.removeEventListener ("click", fl_ClickToGoToWebPage_8);


    If you would like the option to reopen the window atr once then add the listener when the window is closed.

  • why I can not go back more than once all of a sudden and double letters are not allowed?

    I have to reset the cursor to go back more than once and nothing can hit twice (the second will not be displayed) very very frustrated!


    1. You did changes to the computer before the show?
    2. Is - this USB keyboard or wireless?
    3. What is the brand and model of the computer, the mouse and keyboard?
    4. What version of Windows are you using?
    5. The issue is limited to a particular application?

    Please follow the steps below.

    Method 1:
    Run the troubleshooter mentioned in the link below
    Windows Vista

    Windows 7:

    Method 2: Check the boot issue.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    NOTE: After completing the troubleshooting steps, please reset the computer to start as usual (see the STEP 7 of the article mentioned below)

    I hope this helps!

  • My keyboard is not save when I try to use a button more than once.

    My keyboard is not recording that I use a button more than once and it's causing problems with typing and use / the overall experience from my computer.
    If I try to go back an entire word, it will be only a matter of erasing and then the keyboard does not recognize that I use the back button back until I have use another first. Essentially, I am unable to use a button more than once, unless I hit another key.
    This problem does not extend to the buttons of the mouse and trackpad.
    This problem is not just with the keys to the letter, with all the control keys.
    I use a HP Mini with Windows XP Professional.

    Hi Danielle,

    The first two thoughts that come to mind are supposed to check and "fiddling" the following:

    1 Control Panel > keyboard > Ketboard Repeat Delay and/or keyboard repeat rate.

    2 panel > Ease of Access Center > facilitate the use of the keyboard > disable filter keys or to adjust the applicable rates, if you want to use them.

    I hope this helps.

    Good luck!


  • video game like the 'w' key controls are being powered with numbers specifically a sequence relies on more than once

    the old switchero
    video game like the 'w' key controls are being powered with numbers specifically a sequence relies on more than once

    Hi mag1475,

    I suggest looking up the keyboard key parameters in the game and reset the default settings, check to see if it helps.

    Also connect another keyboard to the computer and check if it the question persists in the game.

  • BlackBerry Z10 Facebook presents more than once in the HUB!

    Dear all,

    I noticed that my Facebook showed more than once in the HUB! and all instance displays something different from each other. Past instances show old notifications that I deleted a long time ago!

    Whenever a connection and disconnection of the Facebook application, a new instance is created inside the HUB! It seems that there is a serious bug in the HUB or Facebook!

    How can I fix?

    found the solution here:

    Thanks to the FB developers!

  • Import of Lightroom - Flash player appears more than once in the source and destination

    How can I remove Flash Player from the list of destinations and sources of import?

    I recently had considerable difficulties, download Flash Player to view the video from the site, but now it appears more than once in Lightroom.

    MacBook Pro El Capitan. Lightroom CC. Thank you.

    Those are probably your Flash installation disc images.  You see them on your desktop.  If so, drag them to the trash.   If they are not on your desktop, restart your computer and may disappear from the import dialog box.

  • Is it possible to find the two sentences into one pdf file? For example, I know the words 'Here' and 'the answer' occur more than once in my document, but only once on the same page. I'm looking for this page.

    Is it possible to find the two sentences into one pdf file? For example, I know the words 'Here' and 'the answer' occur more than once in my document, but only once on the same page. I'm looking for this page.

    I tried to do this by using the search but it will find only them, if they occur as a long chain, that is to say "Here's the answer" rather than how they occur in the document it is to say "Here 's" a bunch of information that leads you to 'the answer'. The search feature so standard did not help.

    Then I tried to do this by using the tool to delete (obviously not the application of writing!) because it allows me to search for multiple words or phrases, however it is not highlight what page both are found. I tried to turn on the preference to enable deletions of comments and even if it meant that I could then go through all the comments, it's still not faster than my document is more than 1,000 pages, which meant there were too many total comments for me to be able to easily identify which page had both.

    Any ideas?

    There is no built-in way to search for two strings and limited to show only the results that appear on the same page.

    It can be done by using a custom script, however.

  • Help! CC of PHOTOSHOP: I want to reproduce the same project more than once and to modify their dynamic objects linked separately as different projects - can you help me? Please

    I want to reproduce the same project more than once and to modify their dynamic objects linked separately as different projects - can you help me? Please

    If related files please consult are located next to the file that contains the duplicate folder and edit files duplicate so corresponding should translate into changed content in the file duplicate.

Maybe you are looking for

  • Plugins do not work correctly (white-out fonts rendering)

    HelloI had a problem with all the plugins I have installed for about a month (since all 6.something FF). They all do not work correctly. When you use flash, all the fonts are blurry, there seems to be a "ghost" behind text which is shifted 1px right

  • The display is on the side.

    After that my computer froze recently, when he finally returned, the display was completely on the side.  Fortunately, I have a separate keyboard because I set the computer on the desk as an open book on the end to see properly.  How can I get it bac

  • ELITEBOOK 8560P P/N: WX788AV

    Hello everyone I have a colleague with a problem, try to update the display, one that came with a full HD model. We believe that there is failure to display cable. Cause in the maintenance and Service of Guide, there are 3 screens available for this

  • 1053 error Code Print spooler could not start

    My print spooler does not start and I get the error code 1053

  • Table of problem analysis

    I am so cloe to tear out my hair at this point I have a function that makes a table that looks like this: the table has numbers that are their own tables which have properties.  IE: MY {ARRAY [0]--> prop 1 = 7, prop 2 = 10... [1]--> prop 1 = test, pr