Skip to content

set / change previous menu #395

Answered by NuSkooler
testoverride asked this question in Q&A
Discussion options

You must be logged in to vote

Example: I would like to be able to go to the message menu from the file menu but when i quit to main on the message menu, it would take you back to the main menu instead of the file menu which is the previous menu.

I'm re-reading this again -- If you have say a mainMenu, a messageMenu, and a fileMenu with a link to the messageMenu from fileMenu, just action: @systemMethod:prevMenu. When going from main -> message, the prev is main. When going from file -> message, the prev is file.

For your quick login, create an alternate menu path:
quick -> "message" -> quickMessageMenu { quit to main = mainMenu }

where your standard messageMenu probably has quit to main = @systemMethod:prevMenu

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@testoverride
Comment options

Comment options

You must be logged in to vote
1 reply
@testoverride
Comment options

Answer selected by testoverride
Comment options

You must be logged in to vote
1 reply
@testoverride
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants