j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
On Fri, 28 Feb 2003 11:09:31 -0800 (PST) j s arf_arf69@yahoo.com wrote:
| w aa |
w _ MyListMorph new. aa _ w myOtherMenu. w initialize: aa x: 800 y: 600. w openView.
Why does the class method return the collection but the instance method does not. Is the instance not created after the [new] message even before the [initialize:x:y:] message? How would I write a single line command that works with an instance method?
Well, if you really want it on one line, you could do this
(w _ MyListMorph new) initialize: w myOtherMenu x: 800 y: 600; openView
Cheers, Bob
squeak-dev@lists.squeakfoundation.org