RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDockTree.EndUpdate Method

Responds when the docked controls have finished changing.

Pascal
procedure EndUpdate;
C++
__fastcall EndUpdate();

EndUpdate implements the EndUpdate method of the IDockManager interface. This method is called after controls are docked or undocked. For example, TDockTree calls EndUpdate internally from the LoadFromStream method, after docking the controls it reads from a stream. 

EndUpdate checks that every previous call to the BeginUpdate method has been matched with an EndUpdate call. If so, it calls the UpdateAll method to perform any final adjustments to the docked controls, now that they are all in place. 

Each call to EndUpdate should be paired by a call to BeginUpdate, which is made before docking or undocking controls. BeginUpdate/EndUpdate pairs can be nested. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!