Better fix for issue 0022916 - DBEdit ESC behaviour
Original Reporter info from Mantis: evdb
-
Reporter name: Erwin van den Bosch
Original Reporter info from Mantis: evdb
- Reporter name: Erwin van den Bosch
Description:
I'am not 100% happy with the fix in dbedit.inc revision 38836 in SVN trunk. It's about the handling of the ESC key. The ESC key should reverse any changes made by the user in the tdbedit control. After reversing changes the ESC key should be handled (so assign Key := VK_UNKNOWN)
But the user can only made changes when the dataset is in edit mode. So when not in edit mode the FDataLink.Reset; is not needed and the assign Key := VK_UNKNOWN is not needed too.
I include a patch that I think is a better fix.
Mantis conversion info:
- Mantis ID: 25472
- Version: 1.3 (SVN)
- Fixed in version: 1.3 (SVN)
- Fixed in revision: 46281 (#b8f0b912)
- Monitored by: » evdb (Erwin van den Bosch)
- Target version: 1.4