Morphic error

Michaël Piel piel at ensm-douai.fr
Tue Mar 21 10:37:51 UTC 2006


On Mon, 20 Mar 2006 22:41:28 +0100
Marcus Pedersén <marcus.pedersen at comhem.se> wrote:

> Hi!
> I have made a small app with buttons, textfields and a "clock".
> Quite often I get an error that says that one of my morphs  
> ( different morphs from time to time) do not handle mouseOver: evt.
> I am suspecting that I updates my different morphs with same type of  
> message. World doOneCycleNow is the problem. For instance I update my  
> clock with World doOneCycleNow every second.
> Is there a better way to just update a specific morph?

You can use the #step and #stepTime (in milliseconds) methods from Morph. I guess you subclassed (something)Morph for your clock. So you just have to redefine these 2 methods. 

> Or am I on the wrong track with my error, is there something else  
> that can make my GUI throw this exception?
> Please help me on where to start looking!
> Many thanks in advance!
> Regards
> Marcus
> 





More information about the Squeak-dev mailing list