[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomListView.HotTrack

Enables or disables hot tracking selection when the mouse is hovered over an item.

Declaration

Source position: comctrls.pp line 1658

public property TCustomListView.HotTrack : Boolean
  index Ord(lvpHotTrack)
  read GetProperty
  write SetProperty
  default False;

Description

HotTrack is a Boolean property used to enable or disable the hot tracking selection feature for the items in the list view control. HotTrack is one of the extended list view styles represented by the LVS_EX_TRACKSELECT constant.

When enabled, a list item is automatically selected (or de-selected) when the mouse pointer is hovered over a list item for a short period of time. It can be used in MultiSelect mode when the Shift, Ctrl, or Shift+Ctrl keys are held while moving and hovering the mouse pointer.

HotTrack is one of the TListViewProperty values included in the TListViewProperties set type and exchanged with the widgetset class. The property value is read from and written to the TCustomTreeview widgetset class instance when its handle is valid. Changing the value for the property causes the widgetset class to be updated with the new value.

Use HoverTime to specify the hover duration (in milliseconds) before a list item toggles its selected state.

Use HotTrackStyles to set the cursor shape or font attributes for hot tracked items in the control.

This feature can be used in List View and in Tab controls.

See also

TCustomListView.HotTrackStyles

  

Hot tracking styles enabled for the control.

TListHotTrackStyle

  

Represents cursor shapes displayed during hot tracking in a control.

TListHotTrackStyles

  

Set type used to store values from TListHotTrackStyle.

TListViewProperties

  

Set type used to store values from the TListViewProperty enumeration.

TListViewProperty

  

Represents Boolean properties used in TCustomListView.


Version 3.2 Generated 2024-02-25 Home