stevia at citlink.net
Tue May 9 02:36:51 UTC 2006
Hi -- I sent this to beginners list but didn't get a reply so will
Hi all -- and thanks in advance. I'm finding
SimpleHierarchaelListMorph 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') ]
y := x getList.
y add: (ListItemWrapper with: 'item 2').
x list: y.
I've looked at the examples and still not getting it.
More information about the Squeak-dev