Thanks Peter! I admit I couldnt really dynamically add methods to a class at
runtime since I was doing it as follows:

([
    (LOCell class) methodDict
        at: #mouseAction
        put: ((LOCell class) compile:
            mouseAction: a
                ^ mouseAction := a
        ).
] value).

Which caused constant harassment by Pharo until I typed:

(LOCell class) removeAllKeys.

or 

(LOCell class) removeKey: #mouseAction.

I'll try your method in a bit to see if it works better.





--
View this message in context: 
http://forum.world.st/New-to-Pharo-a-bunch-of-questions-tp4917701p4917706.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.

Reply via email to