QTIPS - Comment Lines In Pulldown Menus

Published ByDateVersionKnowledge LevelKeywords
Sprezzatura Ltd01 MAR 19922.11+EXPERTMENU, PULLDOWN, COMMENT

Dave Mills of the Nature Conservancy Council points out that is can sometimes be desirable to have lines which take no action in a pull down menu. For example, a report menu might wish to distinguish between the pre-written section of the menu and the ad-hoc section by inserting a line of char(176)s across the menu.

To achieve this, put the characters required in the "Selection" portion of the menu entry screen and in the Code portion put a "*". When the menu processor reaches this line it will place the highlight bar on the line but will do nothing when return is pressed.

If all that is required is a single line across the menu (as above the Esc=Cancel line) this can be more easily achieved by inserting a blank line in the menu definition where the line is required, by pressing Ctrl-N on the menu entry screen line.

(Volume 3, Issue 9, Page 4)