9 Dec 2010 8:33 AM #11
OnChange is a wrapper around a native browser event, while Change is some custom event fired by GXT.
9 Dec 2010 8:33 AM #12
10 Sep 2012 4:20 AM #13
I cant see how the delay will solve my issue
I have written a music player that uses the slider to show how much of the track has been played. As the slider is updated by the player with the played time of the track, I have to stop this update from happening if the user grabs the slider control or clicks the slider. In the case of the user clicking elsewhere on the slider the Change event is fine but if the user grabs the slider control then the change fires as the control is moved. This means that the process that updates the slider for the played time is turned on, hence causing multiple position updates and major confusion. Therefore the correct place for me to turn back on the played process is when the user releases the mouse button i.e. onMouseUp.
I have tried the dragEnd and this does not fire. I have check the event sequence and when you click on the slider the event sequence is Slider onMouseDown, Slider OnMouseUp, main widget onMouseUp and then the Slider change event. However when you grab the slider control (i.e. the little knob) you get Slider onMouseDown and the Changed event. The onMouseUp event does not fire for the slider or the widget it is contained in. I have been really careful to ensure that the mouse is released whilst still over the slider. Also VERY strangely if you grab the slider control using the right mouse button then the even sequence is correct i.e. Slider onMouseDown, Slider OnMouseUp, main widget onMouseUp and then the Slider change event.
This is causing me a major issue, can somebody please help.
By mankz in forum Ext 3.x: User Extensions and PluginsReplies: 8Last Post: 8 Feb 2012, 5:03 AM
By tobiu in forum Ext 3.x: BugsReplies: 6Last Post: 30 Mar 2011, 2:58 AM
By mitch_feaster in forum Ext 3.x: BugsReplies: 2Last Post: 19 Sep 2010, 11:48 PM
By disizben in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 21 Nov 2007, 6:17 AM