1. #1
    Ext User
    Join Date
    Jun 2008
    Posts
    365
    Vote Rating
    0
    sdc is on a distinguished road

      0  

    Default [2.0-M3] Upgrade from 1.2.4

    [2.0-M3] Upgrade from 1.2.4


    I am trying to upgrade from 1.2.4 to 2.0-M3 for evaluation. What happened to SplitToolItem ? What can I use instead ?

  2. #2
    Ext User
    Join Date
    Jun 2008
    Posts
    365
    Vote Rating
    0
    sdc is on a distinguished road

      0  

    Default


    Also, Dialog.getButtonPressed has been removed. What can I use instead ? I was using it in a Listener :
    Code:
    new Listener<WindowEvent>() {
                                public void handleEvent(final WindowEvent ce) {
                                    Dialog dialog = (Dialog) ce.component;
                                    Button btn = dialog.getButtonPressed();
                                    if("ok".equalsIgnoreCase(btn.getText())){
                                      ...
                                    }

  3. #3
    Ext User
    Join Date
    Jun 2008
    Posts
    365
    Vote Rating
    0
    sdc is on a distinguished road

      0  

    Default


    Quote Originally Posted by sdc View Post
    I am trying to upgrade from 1.2.4 to 2.0-M3 for evaluation. What happened to SplitToolItem ? What can I use instead ?
    SplitButton maybe ?

  4. #4
    Ext User
    Join Date
    Jun 2008
    Posts
    365
    Vote Rating
    0
    sdc is on a distinguished road

      0  

    Default


    Quote Originally Posted by sdc View Post
    Also, Dialog.getButtonPressed has been removed. What can I use instead ? I was using it in a Listener :
    Code:
    new Listener<WindowEvent>() {
                                public void handleEvent(final WindowEvent ce) {
                                    Dialog dialog = (Dialog) ce.component;
                                    Button btn = dialog.getButtonPressed();
                                    if("ok".equalsIgnoreCase(btn.getText())){
                                      ...
                                    }
    Maybe ce.getButtonClicked() ?

  5. #5
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Yes, the event has the button, as also with 1.2

  6. #6
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Quote Originally Posted by sdc View Post
    SplitButton maybe ?

    Yes you can directly add Buttons now to a Toolbar

Thread Participants: 1

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