Occurs immediately before the list of strings changes.
Write an OnChanging event handler to prepare for changes in the list of strings. For example, if the string list is associated with a control, the OnChanging event handler could tell the control to disable repaints until the RSGenerics.Collections.TStringList<T>.OnChange event is triggered, notifying the control that the list has finished changing.
Whenever strings in the list are added, deleted, moved, or modified, the following events take place:
• An OnChanging event occurs before the change.
• The strings are added, deleted, moved, or modified.
• An OnChange event occurs.
Note |
---|
OnChanging occurs for every change made to the list, regardless of whether the application calls BeginUpdate and EndUpdate around a series of changes. |
Namespace: RSGenerics.Collections
Delphi |
public |
Property Value
Type: TNotifyEvent