Internet Explorer and Firefox stop loading pages and Windows Vista :: I am able to close the browser, but in the processing tab under task manager it would show firefox or iexplorer still running. Because of this, I am unable http://www.hardwareanalysis.com/content/topic/71940/HOME | I have some problems with ExtJS and tasks. First of all I was unable to start the timer with this.doUpdate as property for run. The other (much bigger) problem is that I'm unable to stop the timer, I see the message-box but the timer runs until I close the browser/tab. TUTORIAL: Task Manager, Regedit, etc won't open (Part 1):: 17 posts - 10 authors - Last post: Apr 21, 2006Regedit, msconfig & task manager wont open I also found that I was unable to update my NAV definitions or even uninstall/reinstall NAV. http://www.ozzu.com/windows-tutorials/tutorial-task-manager-regedit-etc-won-open-part-t44857-15.htmlHOME |
Ext.UpdateControl = Ext.extend(Ext.BoxComponent, {
updateTimer : null,
[...]
startUpdate : function() {
if ( !this.updateTimer ) {
this.updateTimer = Ext.TaskMgr.start({ wowexec.exe Windows process - What is it?:: There is no uninstall listed and deosn't show up under my Task Manager. I am unable to stop it or remove it at this time. Shashi, It is blocking my browser. http://www.neuber.com/taskmanager/process/wowexec.exe.htmlHOME | Unable to delete captured file [Archive] - Rage3D Discussion Area:: 27 posts - Last post: Mar 4, 2004However, when capturing a scheduled program after the program is done recording I am unable to delete it. If I stop a recording manually I http://www.rage3d.com/board/archive/index.php?t-33744519.htmlHOME |
interval: 500,
//run: this.doUpdate,
run: function() {
this.imageEl.src = this.imageURL + '?' + new Date().getTime();
},
scope: this
});
}
},
doUpdate : function() {
this.imageEl.src = this.imageURL + '?' + new Date().getTime();
},
stopUpdate : function() {
alert('Stopping');
Ext.TaskMgr.stop(this.updateTimer);
}
});
Your code looks correct (event the this.doUpdate should work).
Are you calling startUpdate and stopUpdate with the correct scope?
Thanks, works like a charm now :D
Yes, it's a scope problem:
var window = new Ext.Window({
[...]
buttons: [{
text: 'Start',
handler: updateController.startUpdate,
scope: updateController
},{
text: 'Stop',
handler: updateController.stopUpdate,
scope: updateController
}]
});
(otherwise 'this' in startUpdate/stopUpdate will refer to the Start/Stop button instead of the updateController instance)
Never thought it was a scope problem, because starting the timer works fine (stopping doesn't of course). Here is the calling code:
var updateController = new Ext.UpdateControl({
id: 'update-control'
});
var window = new Ext.Window({
[...]
buttons: [{
text: 'Start',
handler: updateController.startUpdate
},{
text: 'Stop',
handler: updateController.stopUpdate
}]
});
Nortel Unveils Vision, Strategy for Israeli High-Performance Net
Busy Friday Leads to Strong Close for Net Stocks
|