several instances of controls QML

Hello

Is it possible to have multiple instances of QML controls such as label, menu drop-down etc, because I have a drop down list and has about 30 + options. I don't want to make another copy, rather want to create another instance, so I don't have too much redundant code in my qml file.

is this possible or do I actually copy all code for 30 + combo options?

Thank you

If you have the code to create these 30 options, you can reuse it.
I don't think that you can copy a dropdown list with all options in one simple operation, but you can browse and copy them one by one.

I have some where the choices are copied from other drop-down lists and make this way.

Tags: BlackBerry Developers

Similar Questions

  • My computer shows several instances of xpsp2res.dll module in System 32.

    My computer shows several instances of xpsp2res.dll module in System 32.  I found them using Norton Systemworks process Viewer.  They look identical.  Is it a kind of duplication should I eliminate?

    I think that the Microsoft Support Engineer gives you just a bunch of things to try that neither explain the 'problem' or won't help you at all.

    Depending on your installation, you can have several copies of xpsp2res.dll on your system and you should have one in your system32 folder, in the dllcache folder and perhaps many others (I'm 27) in the folder system32 on various issues under the MUI folder and different down there.  You can't have two files with the same name in the system32 folder.

    The MUI folder means "MUI" and the file contains messages XP and icons and files contain specific language XP messages.

    If you use the built in Windows search, you'll probably find a lot.  Each of them a click right, choose Properties and look at the Version and then the language.  If you are configured for English, the one in system32 should say English and others in the various MUI files will show another language in the properties/language (German, Russian, etc.).

    You will also find that you can have dozens of file xpsp1res.dll (for Service Pack 1) and dozens of files for the Service Pack 3 xpsp3res.dll, you can even have a xpsp4res.dll file in your system32 folder (even if there is no SP4 yet).

    Depends on your installation, which we know nothing since MS Answers is no problem for any information system when a new question is asked.

    I really don't see how Microsoft Support engineer 'tips' to run Disk Cleanup or the Microsoft Safety Scanner will help you at all.  It isn't even a good guess, but it has links to the KB articles.

    If you think that your system may be compromised by malicious software, I could do this:

    Download, install, update and do a full scan with these free malware detection programs:
    Malwarebytes (MMFA): http://malwarebytes.org/
    SUPERAntiSpyware: (SAS): http://www.superantispyware.com/
    They can be uninstalled later if you wish.
  • Several Instances ID using unique configuration files?

    I'm working on a project that has two instances of IDS that will essentially exactly the same thing, just triggered in different ways. Given that the two instances of IDS will do exactly the same thing, we thought to use a single file fsiuser/fsisys for both instances. For now, we have set them up separately, but the files are almost identical. My question is, is it a good idea to always have a link to 1:1 to an instance ID to a set of files in the MRL fsiuser/fsisys or is - it normal to have several instances of IDS point to one set of fsiuser/fsisys if the objective of the fsiuser/fsisys is the same thing?

    So, you have on server 1, ID - A, ID - B and ID - C. For clarity, we'll call these facilities. In the terminology of the IDS, an instance is a scalable subprocesses of the IDS. You can configure an installation of start ID IDS multiple instances, which all share the same configuration.

    It sounds like you're just make change transaction ID - B WIP and ID - C, and you mentioned that TEC was in a DB, so I guess that's a real database. If these assumptions are true, then you should be fine to share configurations... but I feel like ID - B and ID - C should be merged in one installation that generates multiple instances to handle the load of transactions. Is there a particular reason that it has been implemented in this way?

    -A

  • Running several instances of Win7

    Hello, this is my first post in this forum.

    I tried to do some research to make sure that I'm not something that has already been answered, but that have not yet found.

    I would use vSphere Hypervisor (free product) on a single server and run several instances/images of Win7, so that I could use it in the classroom. My hope is that by doing this I need only to maintain an image and keep up-to-date.

    My plan is to create an image, and then allow clients to connect to the server via RDP and start a Win7 desktop computer using this image. I also need to have Office 2010 installed on this desktop is going to be where my teaching is centered.

    My questions are:

    1. This product will make?
    2. How to create the image of Win7?
    3. How licensing issues are handled so that I can legitimately run up to 5 copies of this Win7 desktop computer?
    4. Any other suggestions or thoughts that I have to consider?

    Thanks in advance.

    Russ Kauk

    If you are willing to accept a slight modification, it can do.

    (1) creating an image or

    (2) you create clones of n of this image and start them

    (3) users connect via IP/hostname to each individual workstation.

    If you need to automatically configured virtual machines and management, then you have to accelerate the non-free hypervisor, vCenter and VMware View.

    Regarding the issuance of permits - you will need licenses for Windows "n", likely.

  • Port and several instances of Remoting container numbers

    When dividing the container of remote access in several instances that are running specific services, you are responsible for copy PLM config files in each new location of the folder that contains remoting.  You can then change the configuration file EnvironmentSettings for each to determine which services are running under instances of remote access container by changing the setting isActive to each.

    In doing so, is it necessary to also change the port numbers in each copy of the EnvironmentVariables config file so that they are in conflict with others, even if no service within the container of remoting is running on multiple instances of the container?

    My hypothesis is that if we put a particular service "isActive" false for a given instance of the remoting container, container instance won't lock the port for this service, there is no conflict with the remote instance of the container that is running this service and listening on this port.  This seems to be the case when it is tested, but I heard that you need to change the port numbers for each instance of the container, so a final clarification would be great.

    Thank you!

    Hi Brendon,

    Yes, you are right. If the RemotingContainer service is not running, the port is not used.

  • How to highlight several instance of a word or a sentence in Acrobat XI

    I would like to highlight several instance of a word or a phrase.  I worked with the editors, but I can't find a way to save the changes or change the highlight color using scripts.

    Thank you

    1. open the Document in Acrobat XI

    2. open the 'Comments' on your right.

    3. There are a variety of tools avaialbe to highlight, underline and add text.

  • ImportREDServer.exe runs several Instances

    When I run the CS5 first it starts 8 instances of ImportREDServer.exe (see attached). Is this normal? Also, when I open my project (1200 + R3D clips), it loads a few hundred then hangs (not responding) for 30 to 60 seconds, then charge a few hundred more and so on. I don't know if they are related. However, when I open the version CS4 project in CS4, it loads a lot faster and smoother. Any thoughts?

    Data sheet:

    First 5.0.2

    Windows 7 64 bit

    6 GB OF RAM

    clocked at 1.6 GHz I7

    FireWire 800 6 TB LaCie connected through ExpressCard adapter

    RED Server.JPG

    Yes, it is normal that several instances of ImporterREDServer to start - up to one by heart of processor.

    You have a fairly small amount of RAM for a computer equipped with eight processors. If there are multiple instances of the RED importer running to load hundreds of clips RED, it will take some time, especially if these authorities are fighting for a small amount of RAM. Whenever the software fight more RAM, you experience delays, especially if the contents of the RAM, eventually exchanging hard disk.

    I have 24GO of RAM in my computer at home with the same number of processor cores you have. It's a big positive difference.

  • OPA with several Instances of Siebel integration

    (1) I have a Siebel CRM Instance development
    (2) decisions for the Dev Instance Server
    (3) OPA installed and configured.
    Smoke test successfully tested.
    --------------

    Now we have an Instance of CRM Siebel Stadium
    and want to configure the same OPA/determinations server used for the Dev Instance with the scene.

    (1) is it possible?

    (2) it is possible, the siebel data - adapt .properties to a connection string for the Instance of Dev. Can this cause multiple entries to connect with the many Siebel Installation?

    You can have several points of Siebel environments for the same instances of Oracle Server of determination. This is controlled by the definition of Web Service from starting.
    However for the determinations of Web he uses a Siebel incoming web service call, the server is specified in the siebel-data - adapt .properties, while a single instance of determinations of Web can be integrated in a Siebel environment.
    It is possible to deploy multiple instances of determination of the Web on the same application server, just rename the WAR prior to deployment, for example Siebel-Web-determinations - Dev.WAR and Siebel-Web-determinations - Test.WAR. You can then each point of data-siebel - adapt .properties in respective environments. Note You must also change the symbolic in Siebel URL if you launch OWD of Siebel.

  • Showing the façade unqiue for several instances of appeal Subvi

    Hello

    I have a Subvi, which resembles a table 2D data and graphs of the plots.  I call the Subvi and he opens the subVIs Panel to display plots.  Now I would like to put the Subvi in one for a loop and call several times with various 2D charts.  I'm trying to figure out how to make multiple instances of the Subvi front panel appear. Essentially a front for each table 2D.  All I can get it to do is to open and close the user interface for each Subvi call and for the last table display the user interface for the data.

    I tried to make the VI reentrant and selected the option pre allocate the memory for each clone.  Maybe it works, but I need the front of each Subvi call to stay open.

    Thank you

    Gary

    Thank you both for the help.  I used the open VI of reference and call by reference and created a strictly typed reference VI to call the Subvi dynamically.  Is attached a screenshot of the block diagram.  The link below has guided me to created the strictly typed VI reference required by the "reference" entry of the reference function call.

    http://zone.NI.com/reference/en-XX/help/371361H-01/lvhowto/create_strict_type_vi_ref/

  • Impossible to uninstall several programs in Control Panel. Error 1327: Invalid Drive.

    Using "Add/Remove Programs" in Control Panel, I'm trying to uninstall several programs from my portable computer and everyone gets massage "Error 1327.Invalid Drive E:\. I click 'OK' and receive another message: «Fatal error during installation»

    My laptop was connected to a network and I used an external backup drive; is no longer connected to one, but could be.

    original title: Error 1327. Invalid drive: E:\__

    Hi Tuxedocat,

    Thanks for posting. Please, try the following.

    Press start, run and type Regedit

    Find the following folders from the shell of the Explorer\User HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\

    In the pane right - see if there are any entries which has a F or all other letters in addition C (your OS folder) change data of C:\

    Change the settings of the REGISTRY can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the REGISTRY settings configuration can be solved. Changes to these settings are at your own risk.

    I hope this helps!
    Shawn - Support Engineer - MCP, MCDST
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • How to access controls QML custom in C++ code...?

    Hi all

    I create a custom dialog to display the loading popup and it successfully added in the QML code but I don't get way to access this dialog box in the code c ++ to close when the network connection is closed and the response is received from the web service.

    Here is my code:

    import bb.cascades 1.0
    
    Dialog {
        Container {
            preferredWidth: 400
            preferredHeight: 200
            background: Color.Black
            verticalAlignment: VerticalAlignment.Center
            horizontalAlignment: HorizontalAlignment.Center
            ActivityIndicator {
                id: loginIndicator
                objectName: "indicator"
                preferredWidth: 130
                preferredHeight: 130
                horizontalAlignment: HorizontalAlignment.Center
                verticalAlignment: VerticalAlignment.Center
                onStopped: {
                    if (errorTextid.text.trim() == "") {
                        var blogpage = goToWebView.createObject();
                        navPane.push(blogpage);
                    }
                }
            }
            Label {
                text: "Please wait... Logging In"
            }
        } // Container
        onOpened: {
            // Reset the fire alarm since it is opened.
            loginIndicator.start()
        }
    
    }
    

    Please suggest something

    Concerning

    Thank you simon for show the way finally I got this problem resolved

    Solution for this problem is:

    Dialogue * popUpDialog =
    BB::cascades::application::instance()-> findChild ()
    "LoadingPop");
    popUpDialog-> close();

  • Dynamically add controls QML since a QML function

    Hello!

    I would like to add a control available, under certain conditions. To do this, I want to write a function in QML which it will manage. But I don't know how to instantiate a label and add it. Container has the method add() but syntax that new Sun doesn't.

    Is it still possible?

    Thank you

    Hello!

    This can be done using ComponentDefinition. This page is an example:
    https://developer.BlackBerry.com/Cascades/reference/bb__cascades__qmlcomponentdefinition.html

  • VMplayer using for several instances of XP Mode.

    OK, so I used the built in Windows XP mode for about a year now, and while I'm generally pretty happy with it, I would switch to someont that is not so prone to crash.

    I have downloaded VMplayer, converted my VM, added the xpmode.enabled = true line in the .vmx files (otherwise they constantly asked me to activate) but now I get a message when I try to run two simultaneous to the virtual computer that says I am only able to run a single instance of windows XP Mode.

    Using XP mode I was not limited to a single copy, and because of what I do with them (VPN in several places at once) I need to access several simultaneous sessions.  Someone at - he found a way around this with VMplayer or am I stuck with XP Mode?

    Thank you

    Chris

    Unfortunately, Microsoft requires us to enforce their EULA in this regard.

  • How an element of the specific instance of control/get "from outside"?

    Hello

    I use a function in my script object to control my subforms flowed and reproducible.

    Each subform contains a checkbox

    structure of the form:

    Page 1

    mysubform 1 (subform flowed, repeatable)

    Checkbox

    mysubform 2 (instance number "2")

    Checkbox

    mysubform 3 (instance number '3')

    Checkbox

    ...

    mysubform n (instance number "n")

    Checkbox

    // click event on CheckBox
         doProcessOnSubForm(this):
    
    
    
    
    // scripting object
    function doProcessOnSubForm(CheckBox){
         var InstanceOfMysuborm = CheckBox.parent._mysubform;
    
         console.println(InstanceOfMysuborm.count); // Outupt = 3, so I have 3 mysubforms
         
         // make only instance number 2 invisible
         InstanceOfMysuborm.SOMEmagicCODEtoGETitemNUMBER2.presence = "hidden";
    
    
    }
    

    Anyone have an idea how I can get the number of 'point' 2 of mysubform?

    p.s. I'm not removeInstance; )

    Thank you

    solved by myself

    xfa.resolveNode ("... pathToSubform...") [ » + 2 + «] ") .its presence is hidden;.

  • Several instances of a single photo in photo Apple - is this place?

    Hello world

    After that I added a photo to Photos, it puts a copy of this photo in the folder 'last import. When I click on the "Pictures" folder I can see the same photo here. If I attribute the photo to a particular album in my library, it will appear here as well. I have a scenario where I see the 1 same photo appears 3 times in different places:

    (1) last import

    (2) all Photos

    (3) a specific photo album

    This means in fact that I got 3 copies of the stored photo and takes so 3 x the space on my Mac? I have to remove the picture of 'Last import' and 'All the Photos' after I got this album put it? What happens if I remove the photo of the last import - it removes the picture from the album as well?

    Thank you

    Not at all

    Pictures "not put a copy" any where

    Photos is a database and when you import pictures they are (by default and very highly recommended) copied exactly in photo library where they are kept without changes for all future uses

    Displaying photos in pictures, you can choose a lot to organize and view your photos, including several system like last import and all the Photos albums, albums of the user, the smart albums, duplicate photos for editing of the different and others - none of them make copies of the photo - they are all just different ways to see the photo library inyour

    and since each photos is only in the library, if you delete a picture of the last import all photos or moments then it is removed from the library, so he left all views - deleting a user record does not affect the other views

    LN

Maybe you are looking for

  • Add some Will Mozilla Thunderbird on Google game

    Hey everybody, I use Thunderbird for my email because I am a user of outlook. I tried Google email, nitty gritty for me. I wanted to ask you to Mozilla this myself, but I don't think he has an option to contact them directly. So does anyone know if M

  • Toolbars

    My toolbar is located on the right side of the computer screen where normally its located on the bottom of the screen.  I hit something and don't know how to fix this? Any help much appreciated. Thank you

  • not his year DVD error has occurred that Microsoft stop realtek HD audio

    No sound for dvd (year error has occurred in microsoft stops realtek hd audio and notifies an update)

  • The video camera icon is missing

    Original title: video camera I just plug my video cam into a usb port then it installed, now I can't find the icon to use for making videos

  • Unable to send emails in another country

    Recently on a trip to the USA, in Canada, I was unable to send emails through windows live. Since returning to the Canada, there is no problem. Could someone tell me why and give me a solution to the problem?  Thanks Greg