Hi,

I'm a beginner of qooxdoo and I'm trying to create a smart Cancel button for
my need. I recently discovered that the 'command' property of a
qx.ui.form.Button can be used to set the command for the 'execute' (click)
event on this button.
But I fail to refine because it seems I cannot refine because there was
previously not init value defined (init values is 'null' in super class).
So I don't know what to do.

 properties :                                                                   
                                                                                
                   
    {
    ¦   command : {
             refine : true,
    ¦   ¦   init : function() {
    ¦   ¦   ¦   var par = this.getLayoutParent();
    ¦   ¦   ¦   while (typeof par != "qx.ui.window.Window") {
    ¦   ¦   ¦   ¦   par = par.getLayoutParent();
    ¦   ¦   ¦   }
    ¦   ¦   ¦   par.close();
    ¦   ¦   }
    ¦   }
    },



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Refine-command-property-of-qx-ui-form-Button-tp7584764.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to