dmitry.boyko-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Oct-24 16:58 UTC
Windows.addObserver
Hi people!
I am trying to use next code...
// Set up a windows observer and trace into the textarea
var myObserver = {
onEndMove: function(eventName, win) {
// window.alert("onEndMove");
Windows.getWindow("win123").setLocation(20, 20)
}
}
}
// Add MyEventHamdler
Windows.addObserver(myObserver);
But!!!!
When after the evnet "onEndMove" the current window binded with
mouse :(
How set up a windows observer correctly?
Please help.
Thanks all
Regards, Dmitry.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---