1. #1
    Sencha Premium Member
    Join Date
    Apr 2012
    Posts
    3
    Vote Rating
    0
    sencha_username is on a distinguished road

      0  

    Default Answered: possible to show Ext.Msg without buttons?

    Answered: possible to show Ext.Msg without buttons?


    I'm basically trying to show a "flash message" with Sencha Touch 2 and I figured I'd try a prompt with a timeout because I saw a similar method used with Ext.js here:
    http://dev.sencha.com/deploy/ext-4.0...x/msg-box.html

    the problem I'm facing, though is that I cannot find a way to suppress the display of any buttons. I'm doing this:

    Code:
                  var flash_msg = Ext.Msg.show({
                  title: "",
                  message: "You did it!",
                  buttons: [{
                  }] // buttons                     
                }); // show()
                setTimeout(function (target) {
                    flash_msg.destroy();
                }, 1500, flash_msg);
    if anyone has ideas on how to hide the buttons, or create a better flash message, it would be appreciated.

  2. try this:
    Code:
    Ext.Msg.show({
       title: 'Prompt',
       message: 'prompt message displays here!',
       width: 300,
       buttons: []
    });

  3. #2
    Sencha User
    Join Date
    Apr 2012
    Location
    ShenZhen, China
    Posts
    52
    Answers
    11
    Vote Rating
    2
    liaoyiwu is on a distinguished road

      0  

    Default


    try this:
    Code:
    Ext.Msg.show({
       title: 'Prompt',
       message: 'prompt message displays here!',
       width: 300,
       buttons: []
    });

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."