I'm sure this must be simple and I'm overlooking something, but I need
a way to specify a cell to edit via ActionScript.

I have a List control and want to be able to edit items on a double-click.

Right now I'm listening for the doubleClick event and setting the List
as editable. Then I set the selectedIndex to be the selectedIndex.
However, that doesn't work. I even tried setting the selectedIndex
after a timeout.

I've looked through the List and ListBase class docs for a method of
specifying that I want cell X to enter edit mode. I couldn't find
anything that I can use except selectedIndex on the List control.
There's a selectItem() in ListBase but it's not a public method.

There must be a way to have a cell enter edit mode through
ActionScript, I would think - without having to hack my own component.
Or is that the only way?

-- 

Derek Vadneau

Reply via email to