A long time ago Ely Greenfield wrote about "In Place Editing"
components on his site. This should give you a good idea of how to
accomplish what you're asking:
http://www.quietlyscheming.com/blog/components/ipe-controls/
-d
On Nov 3, 2008, at 4:55 PM, frosifer wrote:
Does the concept of ItemRenderers and ItemEditor apply outside of a
list-based control? What I would like is to have a label control (no
border, etc) display some text, and then allow the user to change this
text by making the label turn into a textinput control when it
receives focus. This is similar to the default behavior of strings in
editable datagrids, for example. But I do not want this to be inside a
grid, I want the label to be directly on a form/canvas. What is the
best way to do this? Do I actually need to come up with a custom
control that switches between the two components based on the focusin
and focusout events, or is there more built-in support for this
behavior?