Using the AdvStringGrid with inplace-editor edNormal, I can easily type some content.
When pressing Escape, the current text-change is reset.
How can I prevent this from happening?
As a workaround I hande FormKeyDown and do:
if (grid->CurrentCell != NULL) {
UnicodeString content= grid->CurrentCell;
grid->HideInplaceEdit(); // << reset happens here
grid->CurrentCell = content;
}
But I wonder if there is a cleaner way or some option to avoid the cancel?
Regards