Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Adding to application launch event

  1. #11
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    146
      0  

    Default

    A sensible thing for us to do would be to set the autoShow configuration to true when an Ext.Window is marked as the initialView.
    Aaron Conran
    @aconran

  2. #12
    Touch Premium Member
    Join Date
    Jul 2011
    Posts
    168
    Vote Rating
    1
      0  

    Default

    I see. I think the previous version (1.2.2) added a show line by default. Thanks for pointing that out.

    Code:
    Ext.Loader.setConfig({
        enabled: true
    });
    
    
    Ext.application({
        name: 'MyApp',
    
    
        launch: function() {
            Ext.QuickTips.init();
    
    
            var cmp1 = Ext.create('MyApp.view.MyWindow', {
                renderTo: Ext.getBody()
            });
            cmp1.show();
        }
    });

Page 2 of 2 FirstFirst 12

Posting Permissions

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