Jump to content

uniForm.show on left: -1000 pixel


erich.wanker

Recommended Posts

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

 

 

 

Link to comment
Share on other sites

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

 

 

post-1295-0-29031700-1415286722_thumb.jpg

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 years later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...