Skip to main content

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 TdxCustomListView

The List View control that raised the event.

AItem TdxListItem

The target list item.

AInfoTip 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.

See Also