Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxListViewInfoTipEvent Type

The hint-related procedural type for list items.

#Declaration

Delphi
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