Can't Read OnKeyPress On DBGrid and StringGrid
Original Reporter info from Mantis: h4wk3y3
-
Reporter name: Andre Christian
Original Reporter info from Mantis: h4wk3y3
- Reporter name: Andre Christian
Description:
I've put
if key=#13 (closed) then ShowMessage('a');
on DBGRid and StringGrid KeyPress Event but nothing show when i run it and try to press "ENTER" key, but it works on TEdit.
I've tried to with OnKeyDown event on both with key=13 or key=VK_RETURN and it works.
Mantis conversion info:
- Mantis ID: 24284
- OS: Ubuntu
- OS Build: 12.04
- Platform: Linux
- Fixed in version: 1.1 (SVN)
- Fixed in revision: 40834 (#6e08b828)
- Target version: 1.2.0
- LazTarget: 1.2