diff --git a/docs/xml/lcl/comctrls.xml b/docs/xml/lcl/comctrls.xml index e8670809a5..ad480d5477 100644 --- a/docs/xml/lcl/comctrls.xml +++ b/docs/xml/lcl/comctrls.xml @@ -33127,6 +33127,7 @@ turn accessibility off for tree view items by setting the + @@ -35197,7 +35198,9 @@ editor for the control. -Handles mouse move messages for the control. + +Handles mouse move messages for the control. +

MouseMove is an overridden method in TCustomTreeView @@ -35207,11 +35210,23 @@ signals the OnMouseMove event handler (when assigned).

MouseMove ensures that an automatic insertion mark is generated when needed. -It also updates the tool tip (or Hint) location and updates the hot tracking -position. +It updates the tool tip (or Hint) location. It also updates the hot tracking +position when needed. When MultiSelect is enabled, a new tracking position +causes the entire control to be redrawn. If MultiSelect is not enabled, +only the display rectangles for the previous and the current hot-tracked tree +nodes are redrawn.

+ +Modified in LCL version 4.0 to reduce calls to Invalidate to avoid flicker. + + + + + + + TControl.MouseMove
@@ -35791,9 +35806,36 @@ node when the property is changed. Enables or disables highlight / underline drawing styles on a tree item when the mouse is hovered over it. - + +

+HotTrack is a Boolean property which controls whether a +hot-tracking highlight is drawn for the tree node under the mouse cursor. The +default value for the property is False and disables hot-track +highlighting on the control. +

+

+The property value is read from and written to the Options property for the +control; the value tvoHotTrack is included in or excluded from Options based +on the property value. Setting HotTrack to True causes tvoHotTrack to +be included in the Options property. +

+

+HotTrack is used in methods like DoPaintNode, MouseLeave, and MouseMove. +

+

+Use HotTrackColor to set the font color used to draw the hot-tracked tree +node. Theme element details are used to get the background color for a +hot-tracked tree node. +

+
+ + + + + + TCustomListView.HotTrack
@@ -35803,10 +35845,26 @@ the mouse is hovered over it. Font color used to draw the text on a hovered tree node when hot tracking is enabled. - + +

+HotTrackColor is a TColor property with the color used +for the font on a hot-tracked tree node. The default value for the property is +clNone and causes either SelectionFontColor or the color in Font to be used +for the text. SelectionFontColor is used when themed drawing is not enabled in +Options. +

+

+Use HotTrack to enable or disable hot-track highlighting for tree nodes on the +control. +

+
+ + + +