inplace-editor of TDBGrid
Posted on 1997-05-20
I'm trying to write an enhanced version of TDBGrid, called TEDBGrid. One of key features is that display a bitmap when Boolean field for True and another bitmap for False, and toggle it's value through space. I can display bitmaps, toggle values by keypress successfully, but it will display the textual True or False before my drawing. This is due to the inplace-edit object of the parent class, and this object is encapslated, so I can't access it directly. Unfortunately, the inplace-editor is needed to commit my data change by emulate a Enter key.
So, my question is how to make the inplace-editor respon to my key press and bypass the screen redraw?