Results 1 to 3 of 3

Thread: x and ypos of an ext.Messagebox

  1. #1
    Sencha User chrizmaster's Avatar
    Join Date
    Feb 2009
    Location
    Australia
    Posts
    441

    Default x and ypos of an ext.Messagebox

    Hi,

    is it possible to set the x and y pos of an Ext.MessageBox? I don't want it to be in the center of the screen.

    Regards
    Christian

  2. #2
    Sencha User chrizmaster's Avatar
    Join Date
    Feb 2009
    Location
    Australia
    Posts
    441

    Default

    ok, I tried it like this:

    PHP Code:
    var msgbox Ext.MessageBox.getDialog();
    msgbox.setPosition(5,5);
    msgbox.show(....); 
    but what happens is, there's a messagebox shown at the right position, but with all the elements. Means with elemtns for a confirmation box or a promt..

    Any suggestions?
    Christian

  3. #3
    Sencha User chrizmaster's Avatar
    Join Date
    Feb 2009
    Location
    Australia
    Posts
    441

    Default

    just to let u guys know.

    you could do something like this:

    PHP Code:
    var msgbox Ext.Msg.show({...}).getDialog();
    msgbox.setPagePosition(x,y); 
    mfg
    chriz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •