Hot Tracking ListViews & TreeViews
\The Sandbox \PB History & Future \New In PB7 \New controls \Hot Tracking
TrackBar
Controls
ProgressBar
Controls
HyperLink
Controls
New Control
Properties
Hot Tracking

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

PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com