erich.wanker Posted September 2, 2014 Share Posted September 2, 2014 Hello folks .. i use "animate" to show detail-information of database records.. if the user clicks on a menupoint or on a database-record - i load a uniFrame and show panels per: Show panel : UniSession.AddJS(sliderpanel.JSName + '.animate({ duration: 200, to: { x:'+inttostr(x)+', opacity: 100}});'); Hide panel: UniSession.AddJS(sliderpanel.JSName + '.animate({ duration: 200, to: { x:'+inttostr(x)+', opacity: 0}});'); if a menupoint will be clicked - first of all i call: if mainform.aktuelles_anipanel <> '' then UniSession.AddJS(mainform.aktuelles_anipanel + '.stopAnimation();'); Works fine .. BUT if i click in a faster intervall - the extjs.animate-function doesnt response anymore .. i must restart my uniGui-Application.. i think, if i click on a menupoint - the uniframe will be destroyed and a other uniframe is loaded - the extjs.animate-funkction will lost the panel ... i made a small captured video .. in the beginning i click "normal" .. at the end i click a litte bit faster .. and the "animate"-function crashed .. Please have a look at: http://wavi.at/unigui/unigui.html What can i do? ... any ideas? ThanX Erich Link to comment Share on other sites More sharing options...
erich.wanker Posted September 4, 2014 Author Share Posted September 4, 2014 ... now i stop the "old" animation and start the new in a "try" the Network/HandleEvent/Response-Code taken with Chrome-Dev-Tools: try{O506.stopAll()}catch(e){}; try{O422.animate({ duration: 200, to: { x:1380, opacity: 0}}) }catch(e){}; but didnt solve my problem :-( if i "free" the uniframe with the panel (what i want to animate) .. and the animation is still running - the "extjs.animate function" is not responsing anymore .. ThanX for suggestions Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted September 4, 2014 Administrators Share Posted September 4, 2014 Hi, Are you still on 0.93.1 ? Link to comment Share on other sites More sharing options...
erich.wanker Posted September 4, 2014 Author Share Posted September 4, 2014 Hello Farshad yes ... is where a change for this problem in the actual version ? Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted September 4, 2014 Administrators Share Posted September 4, 2014 Your Ext JS version is 4.1.1. Current version is 4.2.1 Link to comment Share on other sites More sharing options...
Sherzod Posted September 6, 2014 Share Posted September 6, 2014 Hi Erich.You solved the problem?Best regards. Link to comment Share on other sites More sharing options...
erich.wanker Posted September 10, 2014 Author Share Posted September 10, 2014 Hello DelphiDeveloper, no, i didn´t found a solution... Link to comment Share on other sites More sharing options...
Sherzod Posted September 10, 2014 Share Posted September 10, 2014 Hi Erich.And what if, when you click on the left menu, to show the mask before the end of the animation?Best regards. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now