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 Quote 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 Quote 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 ? Quote 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 ? Quote 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 Quote 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. Quote 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... Quote 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.