Hi all -- and thanks in advance. I'm finding SimpleHierarchaelMorphList not so simple. I can add items to the list easily enough if code that follows is anywhere close to being right, but how would I add a subitem programactically to item 1.
x := SimpleHierarchicalListMorph on: [ OrderedCollection with: (ListItemWrapper with: 'item 1') ] list: #value selected: nil changeSelected: nil menu: nil keystroke: nil.
y := x getList. y add: (ListItemWrapper with: 'item 2'). x openInWorld
Again thanks, Steve
beginners@lists.squeakfoundation.org