[Newbies] Transcript show dowsn't work from event handler

Bert Freudenberg bert at freudenbergs.de
Tue Oct 19 21:51:54 UTC 2010


On 19.10.2010, at 11:42, Clemens Eisserer wrote:

> Hi,
> 
> Is there any reason why Transcript show doesn't work when called from
> an event handler?
> I have
>> Transcript show: 'Hello'; flush
> inside an onMouseDown handler method, and although the method is
> called (it changes the morph's color), nothing is printed in the
> Transcript-Window.
> If I call the same method from the main "thread" while constructing
> the UI, everything works as expected.
> 
> Thank you in advance, Clemens

Should work. Morphic does not use "threads", it's completely synchronous, single-threaded.

- Bert -




More information about the Beginners mailing list