qx.Class.patch(qx.ui.form.TextField,
qx.Mixin.define("patch.qx.ui.form.TextField",
{
properties : {
/**
* Whether all text should be selected when field gets focus by
"Tab" key press.
*/
selectTextOnTabFocus :
{
check : "Boolean",
init : true,
nullable : false
}
},
members :
{
/**
* Tab focus event handler
*
* @type member
*/
_ontabfocus : function() {
if (this.isSelectTextOnTabFocus()) {
this.selectAll();
}
}
}
})
);
Best regards,
Denis
--
View this message in context:
http://www.nabble.com/Patch-that-adds-property-to-TextField-that-allows-not-to-select-all-text-on-tab-focus-tp16763446p16763446.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel