|
Re: How to lay a morph down automatically: msg#00182lang.smalltalk.squeak.beginners
Mike O'Brien wrote: >>hm := HeadMorph new openInWorld. >>hm position: 400@300. >> >> > > That blows up because "hm" turns out to be some sort >of BlockContext, not a HeadMorph, but it gave me the right >idea, thanks! > >Mike O'Brien >_______________________________________________ >Beginners mailing list >Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx >http://lists.squeakfoundation.org/mailman/listinfo/beginners > > I tried that exact code under Squeak 3.7, 3.8 and 3.9beta-7041 and it worked as expected in all of them. I don't understand why you'd get a BlockContext back from #openInWorld. Are you sure that you typed it correctly? Maybe you're running something which redefines #openInWorld (Croquet?, Tweak?)? David
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: How to lay a morph down automatically, Mike O'Brien |
|---|---|
| Next by Date: | Re: How to lay a morph down automatically, Mike O'Brien |
| Previous by Thread: | Re: How to lay a morph down automatically, Mike O'Brien |
| Next by Thread: | Re: How to lay a morph down automatically, Mike O'Brien |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |