1. #1
    Sencha User petcy's Avatar
    Join Date
    Aug 2010
    Location
    India
    Posts
    137
    Vote Rating
    0
    petcy is on a distinguished road

      0  

    Default window motion

    window motion


    is it possible to invoke a window.. with effect ?????


    like in the site http://dev.sencha.com/deploy/dev/exa...p/desktop.html

    how the window comes...
    is this a property of the desktop????

    ie.on button click i want to invoke a window which should slowly move and settle a defined position....

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    91
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    It already does that if you specify an animTarget in the show parameters.

  3. #3
    Sencha User petcy's Avatar
    Join Date
    Aug 2010
    Location
    India
    Posts
    137
    Vote Rating
    0
    petcy is on a distinguished road

      0  

    Default


    how??? can u help me with code???

  4. #4
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    91
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Code:
    Ext.onReady(function () {
        new Ext.Button({
            text: 'Click me',
            handler: function(btn){
                var win = new Ext.Window({
                    title: 'Hello',
                    width: 300,
                    height: 200,
                    closable: true,
                    showAnimDuration: 2 // 2 sec is really slow
                });
                win.show(btn.getEl());
            },
            renderTo: Ext.getBody()
        });
    });

  5. #5
    Sencha User petcy's Avatar
    Join Date
    Aug 2010
    Location
    India
    Posts
    137
    Vote Rating
    0
    petcy is on a distinguished road

      0  

    Default


    thanxxx Condor....

    its very nice...

Similar Threads

  1. Window hide then close vs window close... Problems re-opening the window.
    By zhegwood in forum Ext 3.x: Help & Discussion
    Replies: 7
    Last Post: 11 Jan 2010, 5:42 PM
  2. [FIXED] Window.setAutoHide() closes window on window moving
    By sorrro in forum Ext GWT: Bugs (2.x)
    Replies: 1
    Last Post: 6 Oct 2009, 6:50 AM
  3. Replies: 4
    Last Post: 3 Jul 2009, 6:04 AM
  4. Replies: 5
    Last Post: 23 Jul 2008, 8:49 AM

Thread Participants: 1