RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListView.OnDataHint Event

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

Pascal
property OnDataHint: TLVOwnerDataHintEvent;
C++
__property TLVOwnerDataHintEvent OnDataHint;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!