onFocusLost does not work in Table View

Servoy Developer
Version 3.5.3-build 516
Java version 1.5.0_13-121 (Mac OS X)

Is it correct that the onFocusLost property is not triggered on a form in Table View if you tab through the columns and rows ?

Cheers
Harry

“Correct” in that I confirmed this using the same build. Whether this is “correct” in terms of expected behavior, I don’t know.

Same with onFocusGained, Harry. Works only with a click.

btw, unless you are running a copy of Servoy that you don’t mind force-quitting, don’t try the onFocusGained test that I just did – showInfoDialog. Use a nice little beep instead.

kazar

In smart client table view, using the keyboard to change the highlighted cell is not currently considered a focus event.

You can select this way the cell you want to edit, but that cell gets input focus only after you start typing. Clicking with the mouse will enter edit mode directly - and will trigger the focus events. This is the way it currently works.

thanks, Andrei, that makes perfect sense now

kazar

Hi Ilyse/Andrei,

Thanks for the confirmation and explanation :D

Cheers
Harry