[Newbie Q]Morphic /SmallTalk

Norton, Chris chrisn at Kronos.com
Thu Mar 16 22:29:59 UTC 2000


Hi Karl.

Bert had some good info in his post.  You might also learn quite a bit by
examining the DoubleClickExample morph.  Just bring up a New Morph... and
under the Alphabetical List, choose A - D >> DoubleClickExample.

Lots of great mouse functionality is implemented on this simple morph.
Here's another simple morph that I posted to this list on 12/03/1999.  This
is what I said back then...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Here's an example of how you can teach a morph to sense and respond to a key
pressed.

Steps: 
1.  File in the attached change set.
2.  Create a new KeyboardMorphTest (in Morphic, World Menu>>new
morph...>>from alphabetical list>>k>>KeyboardMorphTest)
3.  Put your mouse cursor over the new morph and press any key (only keys
with visible characters will be interesting)
4.  A balloon will pop up telling you what key you pressed.

Cheers!

---==> Chris

 <<KeyboardTestMorph.st>> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: KeyboardTestMorph.st
Type: application/octet-stream
Size: 1116 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20000316/c1bac28e/KeyboardTestMorph.obj


More information about the Squeak-dev mailing list