Hi everybody,
I have a Tree Control on which I let user add some nodes. When a node gets added I want to let the user edit the added control right away. How do I get the itemEditorInstance of a just added xml node?
Thanks for hints! Markus
Hi everybody,
I have a Tree Control on which I let user add some nodes. When a node gets added I want to let the user edit the added control right away. How do I get the itemEditorInstance of a just added xml node?
Thanks for hints! Markus
You just have to override the createItemEditor method
Example:
override public function createItemEditor(colIndex:int, rowIndex:int):void { super.createItemEditor(colIndex, rowIndex); itemEditorInstance.cacheAsBitmap = true; itemEditorInstance.opaqueBackground = 0xFFFFFF; itemEditorInstance.alpha = 1; }