Misplaced cell editor in ValueListEditor
Original Reporter info from Mantis: wp @wpam
-
Reporter name:
Original Reporter info from Mantis: wp @wpam
- Reporter name:
Description:
The situation is as follows:
- A custom cell editor (a picklist) is used for one or more cells of a TValueListEditor.
- A cell (# 1) with such a custom editor is selected. This shows the combobox of the picklist.
- Then another cell (# 2) using the default cell editor is selected.
- The combobox is drawn underneath the selected cell # 2. There should not be any combobox at all.
- If a third cell (# 3) using the default cell editor is selected the combobox appears in cell # 2. It is not possible to use the default cell editor for cell # 2 any more.
- The error is related with the fix of grids.pas in issue 024245. If I undo these changes the behavior of the ValueListEditor is normal.
Steps to reproduce:
The attached program demonstrates the issue:
- Compile
- Select the empty cell in column 1 next to "Month" which uses a picklist editor.
- Select the cell above (line "Year") - the combobox of the picklist editor is peeking underneath the selected cell.
- Select the first cell (line "Name", column 1). The picklist combo is now fully visible in the previously selected cell.
Mantis conversion info:
- Mantis ID: 24273
- OS: Windows
- OS Build: Win7 32bit
- Version: 1.1 (SVN)
- Fixed in version: 1.1 (SVN)
- Fixed in revision: 40831 (#2ef3cf5a)
- Target version: 1.2.0
- LazTarget: 1.2