![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
ListBox
instance, and
instantiate the following pattern in the createViews
definition:
the list box owner: the view manager. the list box when: #getContents perform: initialization method the list box when: #select perform: action method.
initialization key word theListBox theListBox contents: an ordered collection of strings.
selection
method answers an integer index:
selector theListBox ... (theListBox selection) ...