[Overview][Types][Classes][Index] |
Finishes an update process for the component.
Source position: textstrings.pas line 89
public procedure TTextStrings.EndUpdate; |
EndUpdate is a method used to finish an active update process for the component.
For each call to BeginUpdate, there needs to be a corresponding call to EndUpdate. The methods are used as a pair to consolidate OnChanging and OnChange event notifications.
EndUpdate decrements the internal update counter incremented by calling BeginUpdate. When the update counter is a positive non-zero value, the Changed method is not called and the OnChange event handler is not signalled.
An Exception is raised if the internal update counter is <= 0 when the method is called. When the counter value reaches 0, the Changed method is called to signal the OnChange event handler (when assigned).
Use BeginUpdate to start an update process by incrementing the value for the internal counter.
Raises an Exception if the internal update counter is <;= 0 when the method is called.
|
Starts an update process for the component. |
|
Version 4.0 | Generated 2025-05-03 | Home |