Results 1 to 2 of 2

Thread: Custom MessageBox Yes No text with Modern Toolkit

  1. #1
    Sencha Premium Member
    Join Date
    Feb 2012
    Posts
    300
    Answers
    7
    Vote Rating
    7
      0  

    Default Answered: Custom MessageBox Yes No text with Modern Toolkit

    HI, I would like to setup the YES / NO text button globally inside a Universal Extjs 6.5.3 App.

    For classic toolkit I used the following code.

    Code:
    var B = Ext.MessageBox;
    Ext.apply(B, {
            buttonText: {
                yes: 'Yes!!',
                no: 'No!!'
            }
    });
    It does not work with modern toolkit.

    Anybody know a workaround for modern toolkit?

    Thanks for your help.

  2. With modern, we created standard button concept for Ext.Panel (Ext.MessageBox inherits from Panel) so you can do this:


  3. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,307
    Answers
    3992
    Vote Rating
    1477
      0  

    Default

    With modern, we created standard button concept for Ext.Panel (Ext.MessageBox inherits from Panel) so you can do this:

    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Similar Threads

  1. Replies: 1
    Last Post: 17 Apr 2018, 12:06 PM
  2. Modern Toolkit - Typeahead support for Text Field
    By javachap in forum Ext 6: Q&A
    Replies: 1
    Last Post: 5 Jun 2017, 1:03 PM
  3. Replies: 5
    Last Post: 14 Feb 2017, 4:45 AM
  4. Modern Toolkit and Custom Html Templates
    By Sebastian.GESS in forum Ext 6: Q&A
    Replies: 5
    Last Post: 22 Jan 2016, 10:01 AM
  5. Replies: 2
    Last Post: 16 Sep 2015, 6:07 PM

Tags for this Thread

Posting Permissions

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