Overtype multiple spaces in grid doesn't work properly
The client of my system that uses ActiveWidgets 2.0 just ran into an annoying problem involving overtyping of data in grid cells using spaces. I was able to duplicate this problem using the sample grid at http://www.activewidgets.com/grid/, so I know it's not caused by anything in my code. The problem shows up as follows:
You first click in any table cell to start editing the cell. Usually, keyboard input will be in insert mode and any characters you type are inserted at the current cursor position. If you hit the Insert key, however, the keyboard input will now go into overtype mode. If you type any keys other than a space, it works properly, overwriting the characters at the current cursor position. If you type more than one space in sequence (more than two if you are at the start of the cell), the first character is replaced by a space, but then successive space characters are *inserted* into the cell data, even those overtype mode is still set.
Since the client uses formatted data that often involves multiple spaces, and they used overtype mode extensively in the old system that was replaced by the ActiveWidgets-based system, they are screaming at me to fix this yesterday. Does anyone know of a workaround to this problem? Alex, is this something that can get fixed in the next release?
You first click in any table cell to start editing the cell. Usually, keyboard input will be in insert mode and any characters you type are inserted at the current cursor position. If you hit the Insert key, however, the keyboard input will now go into overtype mode. If you type any keys other than a space, it works properly, overwriting the characters at the current cursor position. If you type more than one space in sequence (more than two if you are at the start of the cell), the first character is replaced by a space, but then successive space characters are *inserted* into the cell data, even those overtype mode is still set.
Since the client uses formatted data that often involves multiple spaces, and they used overtype mode extensively in the old system that was replaced by the ActiveWidgets-based system, they are screaming at me to fix this yesterday. Does anyone know of a workaround to this problem? Alex, is this something that can get fixed in the next release?
Randall Severy
November 16,