DBGrid InplaceEditor stays locked and cannot be hided
Original Reporter info from Mantis: Petr-K
-
Reporter name:
Original Reporter info from Mantis: Petr-K
- Reporter name:
Description:
If user is editing a field in dbgrid InplaceEditor and in Table.DataEvent(deFieldChanged, ...) modal form is showed, then TCustomDBGrid.InitiateAction is repeatly called.
TCustomDBGrid.InitiateAction calls EndUpdating and it "unlocks" editor forever. FEditorHidingCount is now set to -1.
I do not know why TCustomDBGrid.InitiateAction is calling EndUpdating, then I disable it in the included dbgrids.patch. This solves my problem, but I'am not sure if this solution is correct.
Steps to reproduce:
In the example code edit dbgrid cell and press Enter.
Close showed form and InplaceEdit is "Unlocked" forever.
Mantis conversion info:
- Mantis ID: 26191
- Build: trunk #43585
- Version: 1.3 (SVN)
- Fixed in version: 1.3 (SVN)
- Fixed in revision: 46157 (#380a2eec)
- Target version: 1.4