Results 1 to 2 of 2

Thread: How to get a "modal" Ext.Msg.show('Title', 'but1'); ?

  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    36
    Vote Rating
    1
      0  

    Default How to get a "modal" Ext.Msg.show('Title', 'but1'); ?

    This code will not show 2 modal msg boxes, it will show only one.
    Code:
    Ext.onReady(function(){
    	Ext.Msg.show('Title', 'but1');
    	
    	Ext.Msg.show('Title', 'but2');
    });
    Is there any way to get modal msg box ?
    I mean one box appears one after one ?

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    Ext.Msg is a single component. If you want multiple then you can create multiple instances of Ext.window.MessageBox
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Posting Permissions

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