Unit 'ComCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TCustomListView.HotTrack

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

Declaration

Source position: comctrls.pp line 1642

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.

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.