EMA-XPS Online



syntax: (kb-choose-from-menu

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

EMA-XPS Online