Hello all, I'm looking for any information on an elegant solution to the problem of displaying menus on an LCD. Specifically, I want to be able to display menu selections on the second line of an LCD and use pushbuttons to scroll left and right as well as select an option. Selection of an option could either lead to an action or just drop down into a further sub-menu. Anything I can think of is rather inefficeint or brute-force, like a linked list or padding each menu item so it it can be pulled out of memory using a nasty calculation from the starting point of the menu text. Same goes for a sub-menu or action selection - I would need a flag to indicate if each selection is either a link to a sub-menu or associated with an action, as well as either an offset to a submenu or some sort of command code. Adding a menu item in the future would create a nightmare as all offsets would need to be recalculated. There has to be an easier way. Any thoughts? Ken -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics