TdxListViewInfoTipEvent Type
The hint-related procedural type for list items.
#Declaration
TdxListViewInfoTipEvent = procedure(Sender: TdxCustomListView; AItem: TdxListItem; var AInfoTip: string) of object;
#Parameters
Name | Type | Description |
---|---|---|
Sender | Tdx |
The List View control that raised the event. |
AItem | Tdx |
The target list item. |
AInfo |
string | The item hint. |
#Remarks
The following OnInfoTip event handler displays a string stored in an item’s Data property in the hint:
procedure TForm1.dxListViewControl1InfoTip(Sender: TdxCustomListView;
AItem: TdxListItem; var AInfoTip: string);
begin
if AItem.Data <> nil then
try
AInfoTip := string(AItem.Data^);
except;
end;
end;
The List View’s OnInfoTip event references the TdxListViewInfoTipEvent type.