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
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 -
beginners@lists.squeakfoundation.org