JVCL Help:TJvCustomDBTreeView.UpdateLock

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Counts the number of times the tree view has been asked to update itself since the initial update request.


Pascal

 procedureUpdateLock;


Description

UpdateLock is a procedure used to increment the internal byte member that reflects the number of updates performed for the data-aware tree view control.
UpdateLock is used to prevent the component from repainting while the data in the tree view changes. When UpdateLock returns to 0, the data-aware tree view can repaint its Items. When UpdateLock is greater than 0, the tree view defers repaints. UpdateLock prevents the component from flickering when the tree view is resized or the user scrolls through the data.


About

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