hi, I have a tree and instead of setting labels on folders, I add widgets, actually a stack with 2 items: -a label -a text field
When the label is clicked, the stack is moved to the text field to allow the user to edit it Unfortunately, the "left" and "right" keys are catched by the parent tree that open/close the folder to which the stack belong, instead of moving the caret left and right -How to disabled temporarily those keys on this folder item ? -How to catch the ESC key to cancel the edition (by moving the stack back to the label) ? -If I register a keypress event, and I don't get a "left" or "right or "ESC", how can I propagate it ? -If I can catch "left" or "right" key, how to go left or right on the text field (if I can't disable those keys on the folder item) ? Thanks for your help. -- Cordialement, /// (. .) --------ooO--(_)--Ooo-------- | Philippe Poulard | ----------------------------- http://reflex.gforge.inria.fr/ Have the RefleX ! ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel