How to move a container to another container

Hi all,

IAM using mutiple containers in my app now, I want to move one container to another by clicking on the button.

How can I add action listener and move it to another container in the same page.

Thanks in advance

You add the eventlistener to the button. On this callback function, you remove the container from its parent (removeChild) and add this container to the new parent (addChild).

For the button, it would be:
mybutton.addEventListener (MouseEvent.CLICK, MoveContainer);

If I understand your question.

Tags: BlackBerry Developers

Similar Questions

  • How to move itunes library to another drive on the same PC?

    Please indicate the steps required to move iTunes library to another drive on the same PC?

    Drag the entire iTunes, not only in the iTunes media folder, there, launch iTunes with the SHIFT key, and then choose it.

    (144009)

  • How to move a container created with QML to a C++ method

    I defined a QML container:

    attachedObjects: [
            ComponentDefinition {
                id: entryContainerDefinition
                Container {
                    ...
                }
            }
    ]
    

    Then, I create the container in QML and call a utility C++ method, which should add the context menu actions based on other parameters dynamically:

    var entryContainer = entryContainerDefinition.createObject(this);
    dsUtil.addActionsToContainer(entryContainer, [other params...]);
    

    But when I run it, I get only the following error message:

    "BoxContainer.qml:45: Error: unknown method parameter type: container."

    Is it not possible to create a container in QML and pass then in C++ to dynamically change code?

    I found a working solution myself. I am now passing QObject * instead of container *:

    void dsUtil::addActionsToContainer(QObject* containerObject, [...]) {
        // Cast QObject to Button
        Container* container = dynamic_cast(containerObject);
    
        if (container) {
            ...
        }
    }
    
  • How to move cells containing formulas without absolute references and maintain cell references

    I know about the selection of the absolute references, etc., but sometimes I'd like to be able to copy a group of cells with formulas and paste elsewhere all retaining the original cell references. For example, several cells with a formula referring to 'A1' continue referring to 'A1' even when I copy the cells elsewhere.

    Is there a change of copy and paste (for example, command + option + C or something?) so that I can copy the same that in Excel, that does not change the cell references when you copy a formula elsewhere?

    Thank you!

    Hi jivejive,

    I am not in anyway you want with a group of cells. I did it with individual cells by copying the function since the Inspector formula and then paste in the Inspector in the new location.

    Quinn

  • How to move one env to another script

    Hello

    I have a database where I have two schemas.

    (1) owner and user 2). The user schema contains all of the synonyms for objects in the schema of the owner and the application will connect the user to the schema only.


    Now I have 2 script files) 1 create tables in the owner + give grant access for the user 2) create synonyms for objects in the owner


    I have the code of the Dev environment to QA. For QA I have no privileges must give the DBA script file to execute

    My DBA says... give the scripts through clearcase. only 2 script files should be here and information on the environment should not be hardcoded. That is to say

    for instructions in the script as a file: grant access for < table_name > to USERSCHEMANAME and create the synonym < table_name_alisa > for OWNERschemaNAME.table_name

    How can I give the scripts to my DBA with a hardcodiing.    How do you have this movement of code in your project?

    Can I use any placeholder for the NAME of owner (environment part spefcific) and have to ask them to replace it with the name of corresponding runtime env

    What should I do?

    I hope that I am clear, please let me know if iam not clear

    concerning
    REDA

    My dba was to talk about some & 1 and said something like... grant select, insert, update, delete on emp to & 1

    Your DBA seems to have its scripts.
    And you need to read on [the substitution variables | http://www.oracle.com/pls/db102/search?remark=quick_search&word=substitution+variables&tab_id=&format=ranked]
    Name of the schema = a variable.

    And continue to ask questions to your DBA, if you do not understand what he wants.

  • How to move a layer over another layer uisng jsx?

    Hello guys,.

    can some tell me how do to move a layer to the top another layer using jsx script?

    Hi John,.

    Try this Code...

    var doc=app.activeDocument;
    var moveLayer = doc.activeLayer;
    var targetLayer = doc.layers[0];//say topmost layer;
    moveLayer.move(targetLayer,ElementPlacement.PLACEBEFORE);
    doc.activeLayer=targetLayer;
    //SelectionLayer;
    var laySB=doc.activeLayer.bounds;
    doc.selection.select([[laySB[0],laySB[1]],[laySB[2],laySB[1]],[laySB[2],laySB[3]],[laySB[0],laySB[3]]], SelectionType.REPLACE, 0, false);
    doc.activeLayer=moveLayer;
    align('AdCV');
    align('AdCH');
    doc.selection.deselect();
    
    function align(method) {
      var desc = new ActionDescriptor();
      var ref = new ActionReference();
      ref.putEnumerated( charIDToTypeID( "Lyr " ), charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
      desc.putReference( charIDToTypeID( "null" ), ref );
      desc.putEnumerated( charIDToTypeID( "Usng" ), charIDToTypeID( "ADSt" ), charIDToTypeID( method ) );
      try{
      executeAction( charIDToTypeID( "Algn" ), desc, DialogModes.NO );
      }catch(e){}
    }
    
  • How to move the VM to another storage without Virtual Center

    Hello-

    I read some other posts on the moving a virtual computer to another storage without Virtual Center and there is a good post, but I have different problems, because my situation is a little different.

    My VC is currently stored on a local storage of the ESX servers.  It is the virtual machine that I want to move to a shared storage.

    You guys can help me with some of the steps I can take to move this shared storage better?

    I'm not too familiar with Linux, so even copy files etc, I'm not sure how to do it.

    TIA!

    Luke

    You are welcome!

    Now you can help us.  Please consider awarding points for 'useful' or 'right' answers

  • How to: move the taskbar to another facet of the screen

    Original title: How can I get my Start menu on the top of my window is open from my XPwindow it is now on the side

    How can I get my Start menu on the top of my window is open from my XPwindow it is now on the side

    On Saturday, February 25, 2012 15:09:45 + 0000, GINODISANTIS wrote:

    How can I get my Start menu on the top of my window is open from my XPwindow it is now on the side

    Sorry, but I'm not sure what you asking on the subject. What is the taskbar
    you want to move?

    Although by default, the taskbar is displayed on the bottom of the screen,
    It can be on any of the sides on what you prefer. To move any
    side to side, simply click an unused portion and drag
    where you want it. Don't forget to click inside it, not on the edge.
    by clicking on the edge and dragging will resize not move.

    If it does not move, it can be locked. In this case, right click on it
    and uncheck "Lock the taskbar", then try again.

    Moreover, with the screen monitors wide today, I prefer the taskbar
    on the left or the right of the screen. I think that allows a better
    use of real estate than have it at the bottom of screen.
    Ken Blake, Microsoft MVP

  • How to move from window to another screen with keyboard

    Hello

    Using extended display, monitor 2 is a few feet away, making it difficult to manipulate the window with a mouse.  I've seen several shortcuts which supposedly do the following, but none of them worked.  So be as specific as possible when I'm doing something wrong.

    How can I use the keyboard to move the display of Monitor 2 to monitor 1, where I can handle?

    How can I use the keyboard to display on a monitor 2 full screen and way (I do not remember what we call the size between small and larger)?

    Also, sometimes (but not always) monitor programs open on 2 but I want them to open the monitor 1.  How can I make sure that they have always opened on 1 monitor?

    Thank you for any help you can give.

    These options may be available when you use the specific multimonitor software provided by your graphics card manufacturer (or third party), they are not available with built in multi-monitor win driver

    (They are no longer available at multiscreen Nvidia, under win7 drivers, whereas they were available under Windows XP with the same graphic card)

  • How to move apps CC to another folder without having to reinstall?

    Greetings,

    I use a MacBook Pro (which belongs to the company I work for) and I have a personal session on it. When I installed the applications Adobe CC (Lightroom + Photoshop) I did not pay attention where the applications will be installed (by default/applications folder). Now, I wish I could move the apps in my personal applications folder: / Users/Nicolas/Applications.

    I tried simply to drag and drop applications between the 2 folders that, but he did not, the action only aliases created in the last folder...

    Someone knows how to do this correctly?

    Hi Nicolas,.

    Without having to reinstall, it is not possible.

    You can change the installation location through the desktop Adobe CC application.

    Click the gear on the top icon right > select Preferences > section under the creative cloud, you can set the installation location.

    Kind regards

    Sheena

  • "The file is too large for the destination file system? How to move this file to another folder with this error?

    Working with Windows 7. I'm trying to move files to other readers. . What is the work around whan "" the file is too large for the destination file system"is the error messages. Can it be fixed so you can move the files

    Either there is not enough space on the destination or the size of the file is larger than the destination system can accept, for example FAT32 cannot have a file size more than 4 GB.

  • How to move your laptop to another laptop product key? Ent Window 7 version

    I currently use Windows 7 enterprise version (developer version because we are a microsoft partner). I'm changing my laptop I want to bring this version of window to my new laptop. Please advise me how to turn the key in my new laptop? I had waited more than 30 minutes by calling the Activation Center which is far too long that I can afford to wait.

    Thank you.

    If it's a developer version, you got through MSDN, then all you need to do is remove the current computer and install it on the other and reactivate.

    Activate Windows 7 on this computer:
    http://Windows.Microsoft.com/en-us/Windows7/activate-Windows-7-on-this-computer

  • How to move one application to another but stay on $20 membership

    I would like to animate (flash) CC to CC in Photoshop, I don't want the two and I can't afford both, I want only photoshop CC, but I have no idea how do.

    Hello

    You can follow the steps here: https://helpx.adobe.com/creative-cloud/help/upgrade-change-plan.html

    Or contact our support here: https://helpx.adobe.com/contact.html

    Let us know if this helped!

  • Can W7 \64 bit\FF42.0\How I move the profiles?

    Everything seems to work perfectly. But I realized that I should be able to find how to move my profile to another drive on my computer somewhere in the profile itself. I've looked everywhere I can think of and can't find this info. If you can tell me where it is, maybe I can manage. But if not, can you tell me how to move the profiles? My os is Windows 7 Pro 64 bit. I am running Firefox 42.0. Your guesses are all correct, except that I'm not sure about the plugin from Adobe. Thanks for any help.

    You can use the Profile Manager to create a new profile on a different hard drive folder by clicking on the button "choose a folder.
    Be sure to select a new empty file and not a folder that already contains files.

    You can transfer files from the current profile folder to this folder.

  • My Ext HD gets full. How to move my files containing all original photos for a new HD Ext.

    I use LR 4 and the Ext HD is full that contains all the photos. How to move to a new HD Ext. I can't take any chances, I have a lot of images. Thank you. I am running Mac 10.8

    Can be done in Lightroom, but some recommend this method.

    1. close Lightroom,

    2 COPY the FILE MASTER containing all of your subfolders images for the new HD Ext Finder/Explorer or copy of the software, (using "copy", you can compare files to check that there is no corruption of the files being copied).

    3. open Lightroom.

    4. in the folder LR Panel-Right click your MASTER FILE and select "update folder location.

    5. in Finder/Explorer window opens - choose the new location of HD Ext. LR will then reference your images here.

    6. when everything works well from the new HD Ext you can remove the master file of the internal disk images.

    7. do you have a second HD Ext to make a "Clone" of the new HD Ext as backup.

    Read the chapter in this link-"Location of the update folder"

    Adobe Lightroom - find moved or missing folders and files

    Congratulations Jim - you just posted first!

Maybe you are looking for

  • Several versions of Shockwave Director

    I've just updated to Shockwave and have now three versions in my plugins: 11.6.5.636, 11.6.5.636 and 11.6.7.637. I can turn off the older two, but not remove them. I have and how if so? Thank you.

  • Can I fill my MacBook and iPhone calendars of the notice of meeting of Gmail?

    I use Gmail for personal e-mail, but have products Apple (Macbook and iPhone).  Is there a way to link Gmail with my Apple calendars?

  • iPod Touch 6 apparently ignorant button / stop

    I have an iPod Touch 6th generation who, tonight, didn't gave me no problems at all. I got it since the day of release. Then I used it for a bit, went out as usual, and it does not respond to the power button at all. A soft reboot was of course not p

  • Aspire E5-571 BIOS update v1.31 error

    Hello. I get an error trying to run the latest BIOS tool. Updated THIS code version 1.31 Category of the Vendor Description Version Date size BIOSAcerUpdate EC code1.3113.1 MB25/08/2015 Once downloaded, extract the file, open the file > data file ope

  • Windows 7 update do not respond

    Windows update allows the search for updates. She keeps just the fact for all the time that I leave. It retains even search if I unplug the network cable. have tried all of the solutions that I found in forums and everywhere on the internet and I hav