I'm working with a flex grid, which I've "connected" to a database, using ADO. When the user clicks on the flexgrid, I bring a borderless textbox there, so the user can type something, and I update the database in the textbox validate event.

That sucks somewhat. I wanted to detect the escape, enter and tab keys, so I moved the db-update code to the textbox keydown event. If the user pressed escape, I'd just remove the textbox. But the keydown event won't detect the TAB and ENTER keys. If it's a standalone textbox, it'll detect it fine. But when it's over the flexgrid, it won't detect enter and tab.

This ever happen to you?
What do you do for the "update"?
Tell me what I'm doing wrong.
Anything else you'd like to add?


TIA.