[Newbies] Help with pen stuff
Bert Freudenberg
bert at freudenbergs.de
Tue Jun 5 13:03:17 UTC 2012
On 05.06.2012, at 14:47, K. K. Subramaniam wrote:
> On Tuesday 05 Jun 2012 4:04:21 PM david tennant wrote:
>>>> The 'mouse' is known as ActiveHand, so you would program it thusly:
>>>> myPen goto: ActiveHand x @ ActiveHand y.
>>
>> thanks this is exactly what I want. and for my first question can I use
>> this stuff when I make a class of bordered morph.
> goTo: method is for pens. Use position: method for morphs:
>
> myMorph position: ActiveHand position.
You really shouldn't teach beginners bad style ;)
If you're programming Morphic, use events. See my other message.
> John's article is about 38 pages and so fascinating that you may want to print
> it and read it leisurely.
That hint would be even more useful with a URL ...
- Bert -
More information about the Beginners
mailing list