RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TValueListEditor.OnStringsChanging Event

Occurs immediately before the names or values in the string list change.

Pascal
property OnStringsChanging: TNotifyEvent;
C++
__property TNotifyEvent OnStringsChanging;

Write an OnStringsChanging event handler to prepare for changes in the list of strings. For example, you can use the OnStringsChanging event to disable repaints until the OnStringsChange event when the list has finished changing.. 

OnStringsChanging occurs before the change occurs. The properties of the value list editor reflect the old values of the strings. 

 

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