TreeView selection and scrollbar work sometimes wrong with Node.Visible=False
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
-
Reporter name: Juha Manninen
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
- Reporter name: Juha Manninen
Description:
TTreeView now supports node visibility. Mouse clicks point to right nodes and scrollbars are updated correctly most of time.
But sometimes it doesn't work.
TreeFilterEdit uses the node visibility and the problem can be seen in Component List.
Steps:
-
Open the Component List (View -> Components)
-
Select the third "Inheritance" tab.
-
Enter filter "k". Now you have list that doesn't fit to the window but the scrollbar doesn't let you scroll. Also, you can't select items like TCheckBox or TNoteBook using mouse.
-
Make the window higher so that all items are visible at the same time (if your screen resolution allows it). Now you can select the items using mouse.
This is basically my own mess which I should clean myself. I improved the node visibility support, but now I am out of ideas. I will continue with this later unless someone finds a fix earlier.
Mantis conversion info:
- Mantis ID: 21264
- Version: 0.9.31 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 36577 (#01f0b60b)
- Target version: 1.0.0
- LazTarget: 1.0