1. #1
    Sencha Premium Member Edd's Avatar
    Join Date
    Jan 2012
    Posts
    31
    Vote Rating
    0
    Edd is on a distinguished road

      0  

    Default How to create an auto close window / message box?

    How to create an auto close window / message box?


    Hi everyone.


    I just want to create that messages box like these(the little ones after the real messages box).:
    http://dev.sencha.com/deploy/ext-4.0...x/msg-box.html




    In my real application I'm using the Wait Dialog, and after it is completed, I want to display a notification message like "Message Sent" that closes after 1 or 2 seconds, without buttons.


    I tried with:
    Ext.example.msg('Done', 'Your fake data was saved!');
    but that didn't work. (Uncaught TypeError: Cannot call method 'msg' of undefined
    (anonymous function))


    Any suggestions?

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,855
    Vote Rating
    610
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    It's not part of the core library, you'll need to pull in the js/css files into your app to use it.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1

Tags for this Thread