各位兄弟,看看帮助。
property RightClickSelect: Boolean;
Description
Use RightClickSelect to allow the Selected property to indicate nodes the user
clicks with the right mouse button. If RightClickSelect is True, the value of
Selected is the value of the node last clicked with either the right or left
mouse button. If RightClickSelect is False, the value of Selected is the node
last clicked using the left mouse button.
----------------------------------------------------------
RightClickSelect affects only the value of the Selected property. It does not
cause the tree view to highlight a new node if the node is selected using the
right mouse button.
说得很清楚啊。不会使它Highlight的,可以在资源管理器里面试试,先左键选中一个节
点,再右键单击另一个节点,在弹出的菜单消失之前,选中的后一个节点,一旦菜单消失
焦点又回到第一个节点了。
----------------------------------------------------------
Note: RightClickSelect must be set to True before the user right-clicks
the tree view for it to affect the value of the Selected property.
如果希望右键改变选中的节点,就用Kill Night的方法。