Problem in navigation pane

Dear Sir

I have a BB demos navigation pane example

and adding the third page

My Qml

hand. QML

// Navigation pane project template
import bb.cascades 1.0

NavigationPane {
    id: navPane
    Page {
        // page with a picture thumbnail
        Container {
            background: Color.Black
            layout: DockLayout {
            }
            Button {
                horizontalAlignment: HorizontalAlignment.Center
                verticalAlignment: VerticalAlignment.Center
                text: qsTr("Show detail")
                imageSource: "asset:///images/picture1thumb.png"
                onClicked: {
                    // show detail page when the button is clicked
                    var page = getSecondPage();
                    console.debug("pushing detail " + page)
                    navPane.push(page);
                }
                property Page secondPage
                function getSecondPage() {
                    if (! secondPage) {
                        secondPage = secondPageDefinition.createObject();
                    }
                    return secondPage;
                }
                attachedObjects: [
                    ComponentDefinition {
                        id: secondPageDefinition
                        source: "DetailsPage.qml"
                    }
                ]
            }
        }
    }
    onCreationCompleted: {
        // this slot is called when declarative scene is created
        // write post creation initialization here
        console.log("NavigationPane - onCreationCompleted()");

        // enable layout to adapt to the device rotation
        // don't forget to enable screen rotation in bar-bescriptor.xml (Application->Orientation->Auto-orient)
        OrientationSupport.supportedDisplayOrientation = SupportedDisplayOrientation.DisplayPortrait;

    }
}

DetailsPage.qml

// Navigation pane project template
import bb.cascades 1.0

Page {
    // page with a picture detail
    id: pgDetail
    Container {
        background: Color.Black
        Button {
            horizontalAlignment: HorizontalAlignment.Center
            verticalAlignment: VerticalAlignment.Center
            text: qsTr("Show 3rd ")
            imageSource: "asset:///images/picture1thumb.png"
            onClicked: {
                // show detail page when the button is clicked
                var page = getthirdPage();
                console.debug("pushing detail " + page)
                navPane.push(page);
            }
            property Page thirdPage
            function getthirdPage() {
                if (! thirdPage) {
                    thirdPage = thirdPageDefinition.createObject();
                }
                return thirdPage;
            }
            attachedObjects: [
                ComponentDefinition {
                    id: thirdPageDefinition
                    source: "third.qml"
                }
            ]
        }
    }
}

Third.QML

import bb.cascades 1.0

Page {
    Container {
    }
}

the code work

but I want to remove the battery main.qml

the tp of DetailsPage.qml so my first page in the navigation stack after pushing of the main.qml

can any one helpe me?

Thank you

This should help
https://developer.BlackBerry.com/Cascades/reference/bb__cascades__navigationpane.html#function-remov...

Tags: BlackBerry Developers

Similar Questions

  • Navigation pane Win7: inactive favorite area

    • The area of FAVORITES in the navigation pane is not active.  When I try to insert files or folders in the field, nothing happens.  It does not work using drag and drop or by using the manual method ('add to Favorites' Favorites').  Using drag-and - d├⌐poser gives a red cirkel.
    What can be done to activate the FAVORITES area?
    • I use Windows 7 Ultimate UK on a laptop Toshiba R500.
    • The file system is audited by the auditor of the filesystem (no problem found)

    Please repost your question in the Forums Windows7: http://social.answers.microsoft.com/Forums/en-US/category/windows7 where Windows7 experts will be happy to help you.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How can I get Vista navigation pane to only work for a specific folder view?

    I am running Windows Vista classic folders. Significant irritation is that I want to have the navigation pane enabled for the _only_ in my computer/Windows Explorer folder. I don't want that it activated for other folders with groups of icons for programs.

    But I find that when I turn it on for the first folder, it becomes activated for all. On the other hand, if I turn it off for a program icon folder, it is disabled for all files, including the Windows Explorer.

    So, how to customize the navigation pane to make it work for a folder specific _only_?

    The other models are for music or photos or videos or Documents (and I can't remember the fifth).  They show the different columns and present different data sorted differently.  I don't think they will solve your problem.

    Some general information here is on models and how to set any records that might be of interest to you (but will not solve your problem, I think):

    Here's how to change the default template for a folder: http://www.vistax64.com/tutorials/70819-windows-explorer-folder-view-settings.html.  Default behavior is to select the model based on the first type of file placed in the folder (you must choose something).  Vista sets the folder type template according to what are the types of files in the window and the settings display window Explorer. This will show how to reset the display settings for the Windows File Explorer, disable Automatic folder Type Discovery (which is I think what you want)and increase the folder display the cache to make Vista do not forget the display settings, the folder type template, the size or the position of a specific window for when it was still closed to the location of specific path.

    It does not work with the Sub record under, Open with, open in a new tab (Internet Explorer), etc... dialog windows of type through the good File menu bar item. These don't seem to be able to have their size or their position to recall. For the latter, you can use the free program http://autosizer.en.softonic.com/ to resize them.

    Here is another article on how to modify the columns in Windows Explorer and sort in Vista: http://www.vistax64.com/tutorials/108665-column-customize.html.  This will show you how Add, Remove, move, change the widthand change the sort order of the columns in Windows Explorer in the way that you want.

    Here is another article on how to change the display of the default folders in Vista (but she argues, it is not a perfect solution and can revert to the previous behavior is not as good as the two prior links provided: http://news.cnet.com/8301-13880_3-10019957-68.html.)

    I hope this helps in your situation.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Windows Explorer expands inappropriate files, the folder that develop you to the bottom of the jump navigation pane

    When you use a left-hand Navigation pane, if there is enough of folders in the navigation pane as you have a vertical scroll bar, if you click on a folder with the mouse (to see supported in the right pane), and then expand the folder (either by clicking on the symbol + or with the arrow key) , then the left pane automatically scrolls upward as far as possible such as the folder you expanded is yet in sight at the bottom of the pane. This command deletes the folder under the mouse, where it should stay.

    This is certainly a bug, as it only happens the first time you try to extend a record of the way. After having done it once, you can scroll the navigation (left) pane so that the file in question is back in the middle of the pane, and it will expand and contract as expected, remaining under the mouse.

    Because many people seem interested in this question, I'll post some info about my recent contact with Microsoft about this issue.

    It seems that everywhere where this issue has been spoken, all someone would get to a Microsoft employee was a response to "Thank you for your comments" mat. Never the validity of the issue has been discussed or even acknowledged. I decided to write an e-mail to the responsible man, Steve Ballmer, clearly the problem with links to a procedure step by step problem, this discussion and report bug with 220 votes (at the time). I realized that Steve would never read himself, but I thought that his email should get automatically transferred to a person who can actually read.
    Two days later I received an email from a specialist in defense of Microsoft saying a "case of grace" was created and the escalation of Windows team should get in touch with me. The next day, an engineer of the climbing sent ask when would be the right time to talk about issues on the phone. So it would be quite clear with what I was talking about, I've recorded a screencast walking through that was precisely the problem.
    Edit: I made a video more condensed showing the "record jump bug", see here.
    This has resulted in our discussions:
    1. engineers are aware of this problem.
    2. they may, or may not provide a fix for it.
    Nothing revolutionary, but it's a little more push in the right direction. In my opinion, post in this thread on the problem has practically no value. I suggest you:
    1 vote upward and commenting on the bug here:
    He said that the site is being monitored by the dev team.
    2. writing intelligent and without rudeness complaints that mention how the bug affects negatively your workflow file management every day. Send these to the top of the food chain of Microsoft until you get an answer. You are a paying customer and you deserve to be heard.
    I'm tired of dealing with him, so now use XYplorer when you perform heavy file management. It stings to have to pay for a decent file manager, but that's life. If this question bothers you at all, please comment and vote on the bugand write an email.
    13/09/11 PATCH: Bug is still present in Windows 8 Developer Preview, see here.
    01/30/12 UPDATE: Finally, we have a public recognition that this is actually a bug that needs to be addressed, and it will be apparently fixed in Windows 8 beta coming. It's good news, but I know I'll use Win7 for at least a year or two, as will be much, much more. We deserve a patch for this problem in Win7. Until that happens, keep Microsoft listening to this topic.
    FINAL THOUGHTS: It is a real bug with 645
    ! votes on their feedback page, however MS didn't intend to fix for Windows 7 users. The bug is fixed in Windows 8, which means nothing to many of us who do not intend to upgrade. If this bug really gets under the skin, I suggest to install the classic interface, which has been recommended several times in this thread. You can choose to install only the feature "Classic Explorer" which corrects this bug among others and even remember the old UI for copy of file which is so nice to have in return. I used it for many months now without worries.
    In addition, for those of you who think that they find a solution to this problem by changing just a few parameters options somewhere... Thank you for your desire to help each of us, but you do not have the same problem and please do not post here your 'solution '. If you read some of the 29 pages of this thread, you will see that all the imaginable solutions has been suggested. There is a bug in the browser itself. If you are using Windows 7 and plan to continue using it, your options are 1) use the classic interface, or 2) use a third-party files, such as XYplorermanagement tool. If you stumble across this thread because you noticed this bug, please vote for the bugand make 1 or 2.
  • Navigate from a to an other navigation pane navigation pane

    Hi all

    In the navigation pane, we can spread one component to the next.

    But what happens if I want to navigate from a navigation to another part of the navigation pane.

    for example: -.

    hand. QML: -.

     ActionItem {
                    title: qsTr ("ReadFromSD")
                    imageSource: "asset:///images/action_addcontact.png"
                    ActionBar.placement: ActionBarPlacement.OnBar
    
                    onTriggered: {
                        if (_addressBook.detectSD()) {
                            var page = secondPageDefinition.createObject();
                            navigationPane.push(page);
                        }
                    }
                }
    

    and the second page definition is like: -.

     ComponentDefinition {
                id: secondPageDefinition
                source: "filePicker.qml"
                Page {
                    Container {
    
                    }
                            paneProperties: NavigationPaneProperties {
                                backButton: ActionItem {
                                    title: "Back"
                                    onTriggered: {
                                        /*username.text = "";
                                        password.text = "";*/
                                        navigationPane.pop();
                                    }
                                }
                            }
                        }
            }
    

    The problem that is happening, is that the flow is not the trigger from one component to the other:

    NavigationPane {
        id: navigationPaneFilePicker
    
        onPopTransitionEnded: page.destroy()
    
        Page {
            titleBar: TitleBar {
                title: qsTr ("Select contacts File")
            }
    
            Container {
                layout: DockLayout {}
    
                // The background image
                ImageView {
                    horizontalAlignment: HorizontalAlignment.Fill
                    verticalAlignment: VerticalAlignment.Fill
    
                    imageSource: "asset:///images/background.png"
                }
                FilepickerScrollView {
    
                    Container {
                        horizontalAlignment: HorizontalAlignment.Fill
                        verticalAlignment: VerticalAlignment.Fill
    
    ................................................
    ...............................................
    

    When I click the first page its not sailing does not to the second. When the second does not have the navigation pane it worked correctly, but as soon as I added the tag in navigation pane to it it stopped working

    Please suggest

    The element root firstPage.qml and secondPage.qml doesn't have to be a NavigationPane but a page element. You already have a navigationPane in your hierarchy of context and as a result, you can refer to your main QML file NavigationPane directly.

    For example:

    hand. QML:

    include bb.cascades 1.3
    
    NavigationPane {
      id: root
      Container {
        Button {
          text: "Push the first pane"
          onClicked: {
        var first = firstPane.createObject();
        root.push(first);
          }
        }
      }
      attachedObjects: ComponentDefinition {
        id: firstPane
        source: "firstPage.qml"
      }
    }
    

    firstPage.qml

       include bb.cascades 1.3
    
        id: navigationPane
    
        // The initial page
        Page {
            content: Container {
                Button {
                    text: "Display First Page"
    
                    onClicked: {
                        var second= secondPage.createObject();
                // Use the navigationPane defined in main.qml
                        root.push(second); //pushes the defined component definition (first)
                    }
                }
            } // end of Container
    
          attachedObjects: [
            ComponentDefinition {
                id: secondPage
                source: "place the asset filepath to your secondPageQML here"
            }
        ] // end of attachedObjects list
       } // end of Page
    
  • Open windows Explorer to the navigation pane

    It is a small non-critical problem that was bugs me for a long time and I was not able to find any station anywhere, about it.

    I want Windows 7 to Explorer open by putting focus on the navigation pane, so I can quickly mouse scroll until I'm looking for.

    On a drive hard partition, I switch on the properties of the shortcut of/e, D:\My Documents and with libraries and personal records removed by Registry hacks, Windows 7 Explorer opens to D:\My Documents, but focuses on the files pane.

    What - not great.

    I stumbled in a forum that mentions this topic for Win 7.  Their solution is a dll file that can be downloaded on the post below.

    http://www.classicshell.NET/forum/viewtopic.php?f=8&t=2069

  • How to restore the default libraries in the Navigation pane

    Somehow my fault 'libraries folder' on the Navigation pane, who holds the ' four Documents, music, pictures, video files"has been deleted, how to restore," ".

    I tried many things, but not anywhere near the restaurant.
    The people at 24/7supportexperts worked on my computer for 5 1/2 hours and they case failed to fix.
    Is there anyone out there who can help me please?
    Here is the screen image showing the problem...

    Remove libraries,
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-files/how-do-i-remove-libraries-Favorites-from-Windows/6a52e21a-DACF-47cc-883E-cea9c6af8b2e#footer

    This link also shows how to restore the default values libraries as well so don't reject not what you are looking for, the title

    See you soon.

    Take screenshots,
    Usually, you can press the SHIFT key (maybe the Alt key) or (FN key on your laptop) and press prtscrn.
    Open microsoft Paint, and then click Paste on the top left.
    Painting is located in the Accessories folder in all programs from the Start button.

    http://Windows.Microsoft.com/en-us/Windows7/using-paint

    Then click on the blue button on the file and click Save as, click jpeg file type and name the file.
    Upload to skydrive or photobucket in a public album and post a direct link to the file here.

    Or use the windows snipping tool,
    http://Windows.Microsoft.com/en-us/Windows-Vista/use-Snipping-Tool-to-capture-screen-shots
    Refer to this topic on how to make a public record and present screen shot here.
    http://answers.Microsoft.com/en-us/feedback/forum/suggest/how-to-insert-an-image-into-a-post-at-answers/bdae0306-c3cb-4d31-ace9-7281ea1a8a73

    You can also look at this for the new format in skydrive

    http://sdrv.Ms/RtThbH

  • navigation pane does not work

    Hello

    I am facing a strange problem. In the applications installed (if notepad or Word), everytime I try to record something like a document in Word, the dialog box will not Save As displayed the Navigation pane. I tried to activate it to Ogranize-> layout-> Navigation pane method, but that doesn't seem to work.

    Quite strange in Windows Explorer, the Navigation pane option works correctly i.e. it active/disbales as shown.

    Help, please.

    Thanks in advance.

    Hello

    Please try the SFC/scannow command in command promptadministration.
    If not help, try the commands in the following article:
    Hope this helps, good luck :)
  • Can I turn off the navigation pane in the HTML help permanently?

    My company has a web application on the MicroStrategy platform.

    I created a WebHelp customized to replace the out of the box using MicroStrategy and which works very well.

    We develop the MicroStrategy Office add-in for Excel for our customers.

    Once installed, a CHM file is copied to the client's hard drive.

    We want to replace this with our own custom help.

    I created a CHM file with a subject that redirects clients to our WebHelp customzied with content for the add-in.

    One of the subjects has a redirect in the header HTML following code:

    < meta http-equiv = "refresh" content = "0; URL =https://customhelp.htm#AddIn_Introduction.htm"/ > "

    That works very well in my tests.

    Here's my problem...

    The HTML Help Viewer opens and hides the Navigation pane and displays the WebHelp (navigation pane, the menu bar and topic pane) automatically.

    But, the HTML Help Viewer still has the hide/show/hide button for HTML Help navigation pane.

    Is it possible to disable this hide or let it stand, but turn off the navigation pane?

    As always, any help would be appreciated.

    Thank you-

    Michael F Weart

    You should be able to disable in the settings of the window. Make sure that you uncheck the boxes search and Glossary before you uncheck the Index checkbox & OCD. (My quick test seemed to honor these settings, even when they are grey)

  • The navigation pane disappears when the focus is changed

    I use Robohelp 7.01.001 and am generating a Microsoft HTML Help (main layout). When I open the CHM file, everything looks fine, but when I change the focus to the help file in the navigation pane is hidden. Is there a setting to always display the navigation pane?

    Welcome to our community

    If you change the definition of your window, you should see an option called auto hide the Nav pane.

    If this option is enabled, disable it and you should be golden. If it is not checked, select it and click OK. Disable it, and then click OK.

    If the steps listed above do not seem to solve the problem, maybe try to create a new window and set this as the window of your CHM file.

    See you soon... Rick

    Useful and practical links

    Wish to RoboHelp form/Bug report form

    Begin to learn RoboHelp HTML 7 or 8 times now - $24.95!

    Adobe Certified RoboHelp HTML Training

    SorcererStone blog

    RoboHelp EBooks

  • Background picture in the Navigation pane

    Greetings,

    When I add a background image in the Navigation pane appears as 'tile '. How can I display the image "Strench" or "Centered" so that the image appears once rather than several times.

    Thank you

    I can not get this method to work myself. It may be possible, but we would have to guess at the syntax and twist it until it worked.

    However, I tried the original solution, and it works. I created a Smiley 120x120px and place it near the upper left corner of an image 1000 x 4000 white, it has exported as GIF and used as background. She repeats, but I have to do the extremely large nav pane to see repeat horizontally. (To eliminate this problem, you could do the 3000 image or 4000px wide.) The image is only 5 KB in size.

    Give that a try and see if it gives the desired effect.

  • Where is the "navigation pane" in WMP 11?

    Original title: WMP 11 Navigation pane?

    What or where is the "navigation pane" in WMP 11, I have right and left clicked on it until I'm blue in the face, but can not find the ERASE button. Can someone tell me please in the right direction. Thank you.

    Hi GYPCY,

    ·         Which clear key you speak?

    ·         What are you trying to delete?

    By design, the Navigation pane is on the left side of Windows media Player 11.

    Please provide us with more information about the issue so that we can provide you with the necessary assistance.

  • The navigation pane has disappeared from the display of photos

    When you work with my photos, there is a navigation pane to the left I used intensively. He disappeared. When I came back, it is empty. How to restore the list complete photo folders?

    When you work with my photos, there is a navigation pane to the left I used intensively. He disappeared. When I came back, it is empty. How to restore the list complete photo folders?

    There is a tiny little blue arrow on the left hand side, which allows to hide or show the navigation pane. It is located at the pivot. Try to find this arrow, and then click to expand the navigation pane.

  • My navigation pane items disappear... can anyone help me get it back?

    That's what I seehttp://tinypic.com/r/nye990/6

    But when I save a picture or something that looks like this http://tinypic.com/r/30vzygj/6

    I think that the "favorite links" is one missing. The navigation pane shows the favorite links are not displayed, but instead he said: (empty). The folders hidden may be the reason why they do not display. On the second picture in front records there is an arrow down, clicking on who should hide the folders and up arrow appears below. See the following llink to show how they should appear;

    The pane Navigation of Windows Vista
    http://www.Dummies.com/how-to/content/the-Windows-Vista-navigation-pane.html

    Try this fix:

    How to fix 'Favorites' empty in the Explorer of Windows Vista
    http://www.Vistax64.com/tutorials/147638-favorite-links-empty.html

  • with the box navigation pane, is not on the windows messaging

    Inbox, sent items to send etc navigation pane is missing from windows mail. Could not find the way to running.

    View | Page layout | List of folders. Check it out.

Maybe you are looking for