Hi again,
After some more research, in order for a CheckBox to be used in a List
and also support drag/drop, the event listener must be off all the
time. So, I'm wondering if a better implementation of
draggable/droppable CheckBoxes would be a subclass of CheckBox.
Introduce a member named _draggable set to false in qx.ui.form.CheckBox,
and add a new class, qx.ui.form.DraggableCheckBox which simply
initializes _draggable to true. Then, in _onMouseDown and _onMouseUp
wrap the e.stopPropagation() call in:
if (!this._draggable) {
e.stopPropagation();
}
This will provide a draggable checkbox.
Alternately, remove the stopPropagation() calls from
_onMouseUp()/_onMouseDown() and drag/drop support will work out of the box.
Greg
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel