RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListView.OwnerDataStateChange Method

Specifies items that have changed states.

Pascal
function OwnerDataStateChange(StartIndex: Integer; EndIndex: Integer; OldState: TItemStates; NewState: TItemStates): Boolean; virtual;
C++
virtual __fastcall Boolean OwnerDataStateChange(int StartIndex, int EndIndex, TItemStates OldState, TItemStates NewState);

Override OwnerDataStateChange in a derived class to update items in a virtual list view control with their new states. 

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. 

OwnerDataStateChange is called only if OwnerDataFetch is true. 

 

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