Return to previous scene in same state

I have had pretty good luck with Director Class for game apps. I am trying to use Director Class with Widgets … specifically the TableView. I want to select a row in the TableView list, go to a new scene, then return to the TableView scene at the same point I left.

With the TableView you can scroll the list to anywhere. I can use a changeScene to return to the TableView scene but I do not know how to return to the previous point where I scrolled and then selected a row.

Can I return to the previous scene at the point where it left off? changeScene simply reloads the scene from scratch.

Thanks.
[import]uid: 10683 topic_id: 22770 reply_id: 322770[/import]

Never mind.

I found the function TableView:scrollToY

I simply save the position when going to the sub-scene and then if it has been saved when I return to the scene with the TableView I simply scroll back to that position with this function. I make sure when I launch that scene from the menu button it zeros the saved location first so no previously saved location causes an incorrect reposition.

It seems to work nicely.
[import]uid: 10683 topic_id: 22770 reply_id: 90859[/import]

Learned the same thing the other night…just keep global State somewhere so you can restore it. [import]uid: 58455 topic_id: 22770 reply_id: 95801[/import]