RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComCtrls.TLVOwnerDataStateChangeEvent Type

TLVOwnerDataStateChangeEvent is the type of a list view's OnDataStateChange event handler.

Pascal
TLVOwnerDataStateChangeEvent = procedure (Sender: TObject; StartIndex, EndIndex: Integer; OldState, NewState: TItemStates) of object;
C++
(Sender: TObject; StartIndex, EndIndex: Integer; OldState, NewState: TItemStates) ( TLVOwnerDataStateChangeEvent)();

ComCtrls

Sender is the list view control containing the items that have changed.  

StartIndex is the index of the first item that has changed.  

EndIndex is the index of the last item that has changed.  

OldState is the old state of the items.  

NewState is the new state of the items. 

 

TCustomListView

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!