01-11-2013 04:47 PM
Creating a page in NavigationPane with createObject().
I know when I go back this call returns true and page is just loaded. Is there a way to destroy the first page created once it has been popped off the stack. Or is there a way to refresh the page so as to reset all labels and textfields.
01-11-2013 11:04 PM
Is there a way to destroy the first page created once it has been popped off the stack.
the first page is usually a child of the navpane, and hence it will be destroyed automatically when the navpane is destroyed.
01-11-2013 11:17 PM
Well yes that would do the job most definitely. Does leave a bit of a problem in that it kills the parent, when I need the parent to make more children. (sounds bad i know - worry about that) Anyways as I was saying - it would be best if I could just kill the child process and then the next time the button is pushed create a new child with updated values.
Thanks for the response lew.