Results 1 to 3 of 3

Thread: Ext.Msg and Ext.MessageBox buttons and icon documentation

    You found a bug! We've classified it as EXTJS-23655 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Aug 2015
    Posts
    19

    Default Ext.Msg and Ext.MessageBox buttons and icon documentation

    The documentation for Ext.Msg and Ext.MessageBox buttons and icon documentation does not include available static values that can be used. I couldn't find any description or usage examples of the statics defined by Ext.MessageBox anywhere.

    The statics are:
    PHP Code:
    OK    : {text'OK',     itemId'ok'},
    YES   : {text'Yes',    itemId'yes'},
    NO    : {text'No',     itemId'no'},
    CANCEL: {text'Cancel'itemId'cancel'},

    INFO    Ext.baseCSSPrefix 'msgbox-info',
    WARNING Ext.baseCSSPrefix 'msgbox-warning',
    QUESTIONExt.baseCSSPrefix 'msgbox-question',
    ERROR   Ext.baseCSSPrefix 'msgbox-error',

    OKCANCEL: [
        {
    text'Cancel'itemId'cancel'},
        {
    text'OK',     itemId'ok'}
    ],
    YESNOCANCEL: [
        {
    text'Cancel'itemId'cancel'},
        {
    text'No',     itemId'no'},
        {
    text'Yes',    itemId'yes'}
    ],
    YESNO: [
        {
    text'No',  itemId'no'},
        {
    text'Yes'itemId'yes'}


  2. #2

    Default

    They are listed in the Properties and a couple of them are used in the examples, but I will put in a suggestion to see if it possible to make the information more accessible.


    Kevin Jackson
    Sencha Support Team

  3. #3

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Similar Threads

  1. Replies: 3
    Last Post: 11 Nov 2016, 12:30 PM
  2. Replies: 3
    Last Post: 4 Jul 2011, 4:30 AM
  3. Replies: 0
    Last Post: 9 Dec 2009, 12:47 PM
  4. how to set icon for button on MessageBox.confirm or MessageBox.show
    By gurusingh in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 10 Sep 2007, 8:03 AM

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
  •