Dec. 10, 2011
2:43 p.m.
kanmani priyadharshini wrote
I am Priya. I am entirely new to Pharo.
Welcome to our community! kanmani priyadharshini wrote
num1 is an instance variable with accessors (returns 0 as default). num1 is not getting upated when I enter in the text field
In the setter, you have to call "self changed: #num1.". Otherwise the Morph would have to continuously poll to find out if it changed. I always forget this too. When something's not working, I go back and watch http://www.pharocasts.com/2011/02/pharo-gui-with-polymorph.html. HTH, Sean -- View this message in context: http://forum.world.st/instance-variables-need-to-get-updated-tp4179496p41803... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.