EMA-XPS Online
KB-MULTIPLE-CHOOSE-FROM-MENU
KB-MULTIPLE-CHOOSE-FROM-MENU
============================
syntax: (kb-multiple-choose-from-menu
<babylon-menu-item-list>
<babylon-menu-title>
[<item-extraction-function>])
With KB-MULTIPLE-CHOOSE-FROM-MENU you get a
dialogue with different menu-items from which
you can choose some. The BABYLON-MENU-ITEM-LIST
contains the menu-items. The BABYLON-MENU-TITLE
is written above the dialogue.
With the ITEM-EXTRACTION-FUNCTION you can
optionally define how to output the items.
You can choose between yes and no.
If you confirm, then the selected menu-items
will be returned as a list, otherwise NILL will
be returned.
example: >(kb-multiple-choose-from-menu
(instances-of 'city)
"Which of these cities do you
want to visit" #'name-of)
==>
gives an OK-dialogue, in which you
can choose several cities. The cities
that have been chosen will be returned
as an objectlist.
EMA-XPS Online