![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
An instance of MultipleSelectListBox
responds to the
selection
message with the index of the first item selected; it
responds to the selections
message with an ordered collection of the
indexes selected. Alter the definition of createViews
shown in
Segment 692 such that createViews
creates a
MultipleSelectionListBox
instance. Then, alter the definition of
itemSelected
such that the answers produced by both the
selection
and the selections
messages are displayed
whenever an item is selected.