How to change position of window in AjaxEvent?

  1. #1

    How to change position of window in AjaxEvent?

    I'm able to change the Width and Height, but how to I set the position (X and Y) of a Window with an AjaxEvent? The window is simply added to a page in a viewport. Thanks.
  2. #2

    RE: How to change position of window in AjaxEvent?

    Hi dbassett74,

    You can set the position of the Window relative to the Page by using the .SetPagePosition Method.


    Example


    this.Window1.SetPagePosition(100, 100);

    You might have to pass a 'Unit' value instead of an 'int'. In v0.8 there's an overload to pass either.*


    docs:*http://extjs.com/deploy/dev/docs/?cl...etPagePosition


    Hope this helps.


    Geoffrey McGill
    Founder
  3. #3

    RE: How to change position of window in AjaxEvent?

    Perfect!

Similar Threads

  1. [CLOSED] Change Display position of Tabtip in panel
    By legaldiscovery in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 04, 2011, 1:18 PM
  2. [CLOSED] How to change position to show messages?
    By flormariafr in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Aug 06, 2010, 3:41 PM
  3. Replies: 6
    Last Post: Mar 23, 2010, 1:52 AM
  4. [CLOSED] scrollbar position change
    By LeeTheGreek in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 10, 2009, 3:29 PM
  5. ext:Window position
    By haltenberg in forum 1.x Help
    Replies: 2
    Last Post: Aug 13, 2008, 6:21 PM

Posting Permissions