NavigationGroup - Custom back button
Hello there. I've the following code on the app.js:
http://pastie.org/929639
And when I click in a certain menu button, it goes like this:
http://pastie.org/929641
The navigationgroup has the navbar hidden, because I did a custom one. So there I have a back button, but how am I supposed to make the navigationgroup go back? There is no such method on the docs. So far, what I tried to do (on the custom back button) is this:
http://pastie.org/929643
I did an output into to check if the 'currentWindow' var is correct and it is. But in the moment I click the app crash. So, how do I go back in a navgroup W/OUT using the regular back button?
3 Answers
-
I am having the same issue. The default Navigation Button works fine but the custom one won't make the navigation go back. There seems to be a method missing.
-
Up! I've a question that complements mine: is there any "back" method from navigationgroup or even tabgroup? 'cause maybe I could convert to a tabgroup hiding the tabs.
-
when a window is a child of a tab, there is a 'back' button auto-created.
You customise the back button with creating the main window using parameter like backButtonTitle, etc.