Something for the next UI remake perhaps, with lessons learned. Support for more "gestures" etc., long click being one... (am using a drag as a substitute for those myself, in the meantime...) Regards, Gary Sent from my iPad On 18 Apr 2012, at 10:32, Hilaire Fernandes <hilaire.fernandes@edu.ge.ch> wrote:
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