r50847 broke grid's RowSelect behavior
Original Reporter info from Mantis: wp @wpam
-
Reporter name:
Original Reporter info from Mantis: wp @wpam
- Reporter name:
Description:
This report is for a stringgrid for which the option goRowSelect is set.
Using r50621 the RowSelect option behaves correctly when a cell is in edit mode: the texts of all cells of the row containing the edited cell are visible.
After the next changes of grids.pas, r50847, only the edited cell is visible, the text in the other cells of the same row is not visible - presumably it is painted in white on the white background because after a cell in another row is focused the hidden cells come back.
There has been a series of modifications of the grids unit upon r50621, but the reported behavior is still valid until the current revison.
Steps to reproduce:
The attached demo contains a stringgrid with some standard texts in each cell. The grid has the options goEditing and goRowSelect set.
Select the top-left cell ("A1") and press "F2": The cell goes into edit mode, but the other cells in the 1st row disappear.
Select cell A2: The hidden cells come back. Press "F2": now the cells in the 2nd row disappear.
This behavior is valid for all revisions after r50621. In r50621, the grid behaves normally.
See attached screen shots - file names identify revisions used for compiling.
Mantis conversion info:
- Mantis ID: 29237
- OS: Windows
- OS Build: Win 7
- Platform: x86
- Version: 1.7 (SVN)
- Fixed in version: 1.7 (SVN)
- Fixed in revision: 51005 (#775dee25)
- Target version: 1.6