Vcl.ComCtrls.TCustomListView.OnDataHint

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnDataHint: TLVOwnerDataHintEvent read FOnDataHint write FOnDataHint;

C++

__property TLVOwnerDataHintEvent OnDataHint = {read=FOnDataHint, write=FOnDataHint};

Properties

Type Visibility Source Unit Parent
event protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomListView

Description

Occurs when the contents of the list view change, such as when the user scrolls the list view.

Use OnDataHint to update a range of items before the OnData event occurs. This method of updating items is more efficient than individually updating items in the OnData event handler. The range of items specified in the OnDataHint does not always match the range of items for which the OnData event handler is called; therefore, you must be prepared to update individual items in the OnData event handler as well.

OnDataHint occurs only if OwnerData is True.

OnDataHint is an event handler of type Vcl.ComCtrls.TLVOwnerDataHintEvent.

See Also