RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComCtrls.TLVOwnerDataHintEvent Type

TLVOwnerDataHintEvent is the type of a list view's OnDataHint event handler.

Pascal
TLVOwnerDataHintEvent = procedure (Sender: TObject; StartIndex, EndIndex: Integer) of object;
C++
(Sender: TObject; StartIndex, EndIndex: Integer) ( TLVOwnerDataHintEvent)();

StartIndex is the first item in the range for which the OnData event may occur.  

EndIndex is the last item in the range for which the OnData event may occur.  

Use the index information to update the items in the range before the OnData event occurs. 

 

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