Hi,

I just wrote an Qooxdoo App and executet it in the Firefox. Everything works
fine there. 

Trying my app in the Internet Explorer there is an error. Normally if I
press a button, a window should pop up and move to the center of my screen.
This window has 2 buttons that show something like "Proceed action" and
"Abort Action". The window appears correctly, but I just can´t press the
buttons in the Internet explorer. The screen seems to be frozen. Is that
error known with the Internet Explorer, because everything works great in
the Firefox?!?

Here is the window code I use:

var dialogDel = new qx.ui.window.Window("Löschen",
"custom/image/accessories-text-editor.png");
    
      with(dialogDel) {
        setSpace(300, 400, 100, 300);
        setModal(true);
        
        setShowClose(false);

        var qx_widget_Del1 = new qx.ui.basic.Atom('Sind Sie sicher, dass
Sie');
        with(qx_widget_Del1)
        {
          //setVerticalChildrenAlign('middle');
          set({top:5,left:0,width:'100%'});
        };
                 var qx_widget_Del2 = new qx.ui.basic.Atom(' ');
        with(qx_widget_Del2)
        {
          //setVerticalChildrenAlign('middle');
          set({top:20,left:0,width:'100%'});
        };
                var qx_widget_Del3 = new qx.ui.basic.Atom('Datensätze löschen 
möchten?');
        with(qx_widget_Del3)
        {
          //setVerticalChildrenAlign('middle');
          set({top:50,left:0,width:'100%'});
        };
        add(qx_widget_Del1);
                add(qx_widget_Del2);
                add(qx_widget_Del3);
                var imageAttention = new 
qx.ui.basic.Image("custom/image/attention.jpg",
20, 20);
                 with(imageAttention)
                 {
          setTop(90);
          setLeft(120);
                 };
                 add(imageAttention);
                


        var btnOK_Del = new qx.ui.form.Button("Ja, löschen",
"custom/image/dialog-ok.png");
        var btnCancel_Del = new qx.ui.form.Button("Abbrechen",
"custom/image/dialog-cancel.png");
        //var btnSetText_Del = new qx.ui.form.Button("Erase Input",
"custom/image/preferences.png");

        btnOK_Del.set({ bottom : 10, right : 10 });
        btnCancel_Del.set({ bottom : 10, left : 10 });
        //btnSetText_Del.set({ bottom : 10, left : 100 });

        btnCancel_Del.addEventListener("execute", function(e) {
          dialogDel.close();
        });
        btnOK_Del.addEventListener("execute", function(e) {
                        for (var i = 0, l = 
table.getTableModel().getData().length; 0 < l; l--) {
                                //alert('position:'+l);
                                if (table.getTableModel().getData()[l-1][0]) {
                                        table.getTableModel().removeRows(l-1, 
1);
                                        //i=i+1;
                                        //l=l-1;
                                        var tmp = l-1;
                                        //alert('Gelöscht wurde:'+tmp);
                                        
                                }
                        }
                        
                        
          dialogDel.close();
        });

        //btnSetText_Del.addEventListener("execute", function(e) {
        //  txtfld_Del.setValue("");
                //  txtarea_Del.setValue("");
        //  txtfld_Del.setFocused(true);
        //});
        
        add(btnOK_Del, btnCancel_Del);
      }
          //dialogDel.addToDocument();
          add(dialogDel);
          
          dialogDel.addEventListener("appear",function(){
                this.centerToBrowser();
                 
//txtfld_Edit.setValue(tableModel.getValue(1,selectionArray[0]));
                 
//txtarea_Edit.setValue(tableModel.getValue(2,selectionArray[0]));
                 var checkCountDel = 0;
                 
                 //alert('CheckCount vorher ist:'+checkCountDel);
                 for(var i=0,l=table.getTableModel().getData().length;i<l;i++){
                if (table.getTableModel().getData()[i][0]) {//this is the 
checkBox
                                checkCountDel = checkCountDel + 1;
                        }
                        
                }
                qx_widget_Del2.setLabel(''+checkCountDel+'');
                
                //alert('CheckCount ist:'+checkCountDel);
                
          }, dialogDel);


Thx for helping,

regards Jörg 
-- 
View this message in context: 
http://www.nabble.com/Internet-Explorer-and-qx.ui.window.Window-incompatible----tp16046133p16046133.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to