1. #1
    Sencha User
    Join Date
    Apr 2008
    Posts
    51
    Answers
    3
    Vote Rating
    0
    Michou is on a distinguished road

      0  

    Default Answered: [B1] pb with extra properties

    Answered: [B1] pb with extra properties


    Hi,

    In [PR4] or [B1] with sencha-touch-all-compat.js, I can do that:
    Code:
     xtype       :'segmentedbutton'
    ,centered    : true
    ,allowDepress: true
    ,items : [
         { c:1, text:'xxx' }
        ,{ c:2, text:'yyy' }
        ,{ c:3, text:'zzz' }
    ]
    ,listeners: {
        toggle: function(container, button, pressed){
            if (pressed) {
                viewPage.setActiveItem(button.c);
            } else {
                viewPage.setActiveItem(0);
            }
        }
    }
    and it works.

    But with in [B1] with sencha-touch-all-debug.js, button.c is "undefined".
    Bug or not ?

    thx

  2. found a solution :
    now I have to use "button.config.c" and not "button.c"

  3. #2
    Sencha User
    Join Date
    Apr 2008
    Posts
    51
    Answers
    3
    Vote Rating
    0
    Michou is on a distinguished road

      0  

    Default


    found a solution :
    now I have to use "button.config.c" and not "button.c"

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar