Vcl.ComCtrls.TCustomListView.OwnerDataStateChange
Delphi
function OwnerDataStateChange(StartIndex, EndIndex: Integer; OldState, NewState: TItemStates): Boolean; virtual;
C++
virtual bool __fastcall OwnerDataStateChange(int StartIndex, int EndIndex, TItemStates OldState, TItemStates NewState);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomListView |
Description
Specifies items that have changed states.
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.