JCL Help:TWideStrings.EndUpdate

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Marks the end of an update sequence.


Pascal

 public procedure EndUpdate;


Description

Call BeginUpdate immediately before you modify the list and EndUpdate immediately after. All properties methods that modify the list automatically call BeginUpdate and EndUpdate. When the UpdateCount managed by BeginUpdate and EndUpdate reaches zero, EndUpdate calls SetUpdateState which can be overridden by descendants to receive a notification of updates. This way descendants can optimize updates such as refreshing/repainting visible controls.


See Also

BeginUpdate


About

Donator

Mike Lischke


Notes

Calls to BeginUpdate and EndUpdate can be nested in all imaginable ways, but eventually the calls must be balanced.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page