RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TListView.OnChanging Event

Occurs when an item in the list is about to change.

Pascal
property OnChanging: TLVChangingEvent;
C++
__property TLVChangingEvent OnChanging;

Write an OnChanging event handler to conditionally block changes to an item in the list. Set the AllowChange parameter to false to prevent the change from taking place. The Item parameter is the list item that is about to change. The Change parameter indicates the type of change that is about to happen. 

 

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