EMA-XPS Online


KB-CHOOSE-FROM-MENU

KB-CHOOSE-FROM-MENU
===================

syntax: (kb-choose-from-menu
              <babylon-menu-item-list>
              <babylon-menu-title>
              [<item-extraction-function])

With this function you get a dialogue with more
than one menu-items, from which you can choose
one. The babylon-menu-item-list contains the
menu-items. The babylon-menu-title is the text
above the dialogue. With the item-extraction-function
you can optionally specify how to represent the items.
You can choose between "yes" and "no". If you confirm
the selected menu-item will be returned, otherwise
NIL. A confirmation without a selection equals a "no".

example: >(kb-choose-from-menu 
             '((AMSTERDAM HOLLAND) 
               (BERLIN GERMANY))
             "city:" #'first)
         (AMSTERDAM HOLLAND) will be returned
         after you have chosen the menu-item
         AMSTERDAM!


EMA-XPS Online