Vcl.ComCtrls.TLVInfoTipEvent
C++
typedef void __fastcall (__closure *TLVInfoTipEvent)(System::TObject* Sender, TListItem* Item, System::UnicodeString &InfoTip);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
typedef | public | Vcl.ComCtrls.hpp | Vcl.ComCtrls | Vcl.ComCtrls |
Description
TLVInfoTipEvent is the procedure type of the TCustomListView.OnInfoTip and TListView.OnInfoTip events.
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
.