• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.


What is a Menu - Explanation

Page history last edited by Steve Sweeney 11 years, 4 months ago

One of the simplest ways to let a user choose from multiple options is by using a menu system.  A menu is usually presented as a list of options, and the user can select from one of the choices.


For example:

  1. Play a New Game
  2. Load a Saved Game
  3. Exit the Program

    Your Selection? 


Depending upon the user's selection, they may be given a new menu of options, or some other kind of information.


In general, you should check the user's choice to make sure they have made a valid selection (in this case, 1, 2, or 3).  If they choose something else, redisplay the menu and their choices.  It is also good form to display some kind of message notifying the user of their mistake, in the hopes they won't make the same mistake again.

Comments (0)

You don't have permission to comment on this page.