Hilaire we should just continue and slowly but steadily fix and simplify. We have been doing it and we will continue. Now if you have concrete with examples suggestions please let us know. Stef
Responding to myself as it may be useful to other:
btn showSelectionFeedback: false. btn changed.
but well.
Hilaire
Le 18/04/2012 11:32, Hilaire Fernandes a écrit :
Hello,
Don't know if any of you tried to use long click event with pluggable button.
At first it looks pretty easy, as:
btn on: #mouseStillDown send: #hello to: self.
does the job.
The hell is comming because btn aspect is changed but it states is not changed. This is what I want but the aspect changed, but not the state, so it get unsynchronized.
I cannot find how to get the btn back to its aspect reflected by its sate (#getModelState). I look at #update: but did not find.
Of course it will be even better if its aspect is not changed when #mouseStillDown event is triggered, but only at mouseUp.
Thanks
Hilaire
PS: - I found state to be misleading, should not it be selected? - Also the use of symbol to describe the morph is a hell - the morph extension add a layer of obscurity - update/change is catastrophic in term of readability to maintain large application
Yes, I fell Morph does not scale when you get large application. At least I got lost in my own code only when dealing with this specific part.
-- Dr. Geo -- http://www.drgeo.eu