erich.wanker Posted November 5, 2014 Posted November 5, 2014 hi, i want to show a UniForm on a not visible area - a negative value of left position.. i work with: function window.beforeshow(sender, eOpts) { this.height = MainForm.form.height -100; this.x = -1000; - >> and then i animate the window to the screen center! .. } but the form is always created at left:=0; how can i tell the ExtJS to allow the form to be in negatif left value ? ThanX for suggestions
Kanat Posted November 6, 2014 Posted November 6, 2014 ** Update: animation also on closing form (see second form). ** port: 8076 http://roya4u.com:8076 You may download updated project from attached files. Thanks, This effect can be made with minimize Form.
mhmda Posted November 6, 2014 Posted November 6, 2014 Please refer to GSAP framework: http://greensock.com/gsap And search for desired effect,my example intended to show you how basically use GSAP with unigui.
erich.wanker Posted November 6, 2014 Author Posted November 6, 2014 hello mohammad, thanx for sharing this effect ... ITS GREAT ! ... :-) .. a little problem: the UniHTMLMemo and the UniDBGrid are not displayed correct if i use the effects ..? the positions of icons and wrong .. Any Idea how i can solve this problems? ThanX
Sherzod Posted November 6, 2014 Posted November 6, 2014 hi, i want to show a UniForm on a not visible area - a negative value of left position.. i work with: function window.beforeshow(sender, eOpts) { this.height = MainForm.form.height -100; this.x = -1000; - >> and then i animate the window to the screen center! .. } but the form is always created at left:=0; how can i tell the ExtJS to allow the form to be in negatif left value ? ThanX for suggestions Hi Erich, I analyzed, after calling show, calls another function _axy_, which re-establishes the position of the form. If Farshad will give consent, then we can edit the function! _axy_ ... if(c[0]<0){a=true;c[0]=0} ... Best regards.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now