j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Hello, I am hoping to get some help with some menu code using Squeak 2.7.
menu ordereCollection do: [: each | menu add: (each printString) subMenu: (self sub)]. menu openInWorld.
sub add: 'i' action: #i and so on sub openInWorld.
Both menu and sub are methods.
When I open the menus on a program and click any of the items in menu to reach the submenu, I get two exceptions.
MessageNotUnderstood: delete MessageNotUnderstood: delete ifPopUp.
Then when I delete the menu underneath are a number of subs (to the size of the OrderedCollection).
Where am I going wrong ?
Thanks! Gary
squeak-dev@lists.squeakfoundation.org