Commit 347afae
add a method to determine the top node of an thereby invisible subtree
- added method 'TBaseVirtualTree.GetTopInvisibleParent' to retrieve the topmost node of an effectively invisible subtree
- the resulting node can be invisible by lacking the 'vsVisible'-flag on its own or having its parent lacking the 'vsExpanded' flag
- all of its sub-nodes can be considered effectively invisible
- all of its ancestor-nodes can be considered to be effectively visible
- 'nil' is returned if all nodes from 'Node' up to 'FRoot' are effectively visible1 parent e2d5373 commit 347afae
1 file changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3138 | 3138 | | |
3139 | 3139 | | |
3140 | 3140 | | |
| 3141 | + | |
3141 | 3142 | | |
3142 | 3143 | | |
3143 | 3144 | | |
| |||
29908 | 29909 | | |
29909 | 29910 | | |
29910 | 29911 | | |
| 29912 | + | |
| 29913 | + | |
| 29914 | + | |
| 29915 | + | |
| 29916 | + | |
| 29917 | + | |
| 29918 | + | |
| 29919 | + | |
| 29920 | + | |
| 29921 | + | |
| 29922 | + | |
| 29923 | + | |
| 29924 | + | |
| 29925 | + | |
| 29926 | + | |
| 29927 | + | |
| 29928 | + | |
| 29929 | + | |
| 29930 | + | |
| 29931 | + | |
| 29932 | + | |
| 29933 | + | |
| 29934 | + | |
| 29935 | + | |
| 29936 | + | |
29911 | 29937 | | |
29912 | 29938 | | |
29913 | 29939 | | |
| |||
0 commit comments