|
Hot tracking changes the appearance of items in the ListView and TreeView controls as the mouse moves over them and, in ListView controls, selects the item under the cursor automatically if the mouse pauses. You can enable hot tracking by setting the TrackSelect property to TRUE.
In ListView controls, setting either OneClickActivate or TwoClickActivate to TRUE also enables hot tracking. When OneClickActivate is TRUE, you can specify that either selected or unselected items are underlined by setting the UnderlineHot or UnderlineCold properties. All these properties can be set on the control's general properties page or in a script.
The settings for OneClickActivate and TwoClickActivate affect when the ItemActivate event is fired:
|
OneClickActivate
|
TwoClickActivate
|
ItemActivate is fired when you
|
|
TRUE
|
TRUE or FALSE
|
Click any item
|
|
FALSE
|
TRUE
|
Click a selected item
|
|
FALSE
|
FALSE
|
Double-click any item
|
|