JCL Help:TWideStrings.BeginUpdate

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Marks the beginning of modifications to the list.


Pascal

 public procedure BeginUpdate;


Description

Call BeginUpdate immediately before you modify the list and EndUpdate immediately after. All properties and methods that modify the list automatically call BeginUpdate and EndUpdate. BeginUpdate 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

EndUpdate


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