RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListView.OnInfoTip Event

Occurs when the user pauses the mouse over an item in the list view.

Pascal
property OnInfoTip: TLVInfoTipEvent;
C++
__property TLVInfoTipEvent OnInfoTip;

Use OnInfoTip to provide help hints that are specific to individual items in the list view.  

By default, when Help hints are enabled (that is, when ShowHint is true), the list view displays the hint specified by its Hint property. OnInfoTip allows the list view to override this value to specify a hint that is specific to the item under the mouse. 

The Sender parameter is the list view under the mouse. 

The Item parameter is the list item under the mouse. 

The InfoTip parameter returns a string that appears in a help hint window. On entry to the event handler, InfoTip is the item's Caption. If the event handler assigns an empty string, no hint is displayed. Otherwise, a hint window appears that displays the value of InfoTip. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!