TStringGrid in edit cell mode: error sound when pressing Escape key on a form with TButton.Cancel=True
Original Reporter info from Mantis: Bulba
-
Reporter name: Sergey Bulba
Original Reporter info from Mantis: Bulba
- Reporter name: Sergey Bulba
Description:
Pressing Escape key when editing cell will sound like "error key pressed" even if TButton.Cancel=True is placed to a form
Steps to reproduce:
In new project place StringGrid1 and then Button1 on Form1. Set StringGrid1.Options->goEditing to True and Button1.Cancel:=True.
Run application, type some text in any cell of StringGrid1 and press Escape key, error sound will be simultaneously with Button1.OnClick calling.
Additional information:
See http://bugs.freepascal.org/view.php?id=25665 (same bug for TEdit) and attached file with example.
Mantis conversion info:
- Mantis ID: 25847
- OS: windows
- OS Build: 7,xp (32/64)
- Build: 43696
- Platform: win32
- Version: 1.2.0RC2
- Fixed in version: 1.4
- Fixed in revision: 44414 (#156692fd)
- Target version: 1.3 (SVN)
- LazTarget: 1.4