Pressing Delete in TDBEdit does only set edit mode
Original Reporter info from Mantis: JanH
-
Reporter name: Jan
Original Reporter info from Mantis: JanH
- Reporter name: Jan
Description:
Pressing the delete key (not the backspace) in a TDBEdit only sets the edit mode of dataset.
In the TDBEdit.KeyDown(var Key: Word; Shift: TShiftState) procedure the key is set to VK_UNKNOW... but why. It should delete chars behind the cursor ;-)
if Key=VK_DELETE then begin
if not IsReadOnly then
FDatalink.Edit;
Key:=VK_UNKNOWN;
end;
Mantis conversion info:
- Mantis ID: 1917
- OS: Windows
- OS Build: XP SP2
- Platform: PC
- Version: 0.9.12
- Fixed in version: 0.9.17 (SVN)
- Fixed in revision: 9726 (#a991d209)
- Target version: 1.0.0
- LazTarget: 1.0