After deleting a row in a StringGrid, AutoAdd rows is not working
Original Reporter info from Mantis: tintinux
-
Reporter name:
Original Reporter info from Mantis: tintinux
- Reporter name:
Description:
Hi
I have found a small issue in Lazarus 1.2.2 with StringGrid.
This occurs with Options goAutoAddRows and goAlwaysShowEditor, and can be reproduced with the attached example.
- Press Keydown 4 times. A new empty row is created : OK (except OnSelectCell is called twice, not an important issue).
- Click button "Delete line". The row is deleted and the previous line is selected : OK.
- Press Keydown again, no arrow key is efficient, no row is created : KO
It is necessary to use the mouse to click in another cell, to reactivate Keys.
Regards
Tintinux
Mantis conversion info:
- Mantis ID: 26189
- OS: Windows
- OS Build: 7
- Platform: Windows
- Version: 1.2.2
- Fixed in revision: r46414 (#fcd142ec)
- Monitored by: » tintinux (tintinux)
- Target version: 1.2.6