Subject Prevent grid from getting into "edit" mode
Author Daniel Albuschat

I have a problem with TIB_Grid, but first
want to make sure that what I do isn't "an
advanced way of shooting in my foot" again. ;)
I wanted to display an icon in the grid,
so the first thing I needed was an empty field
that I could abuse for rendering the icon.
The only way I found was creating a dummy
calculated field (of type char) with no
content, and using it's cell for rendering the
icon. Then, in the OnDrawCell event I do
the drawing. This works quite well, except for
one problem: The user can still press Return (or
click into the cell) and get into edit mode, with
no icon, but an binking cursor and an empty field.

Daniel Albuschat

eat(this); // delicious suicide