Vcl.Controls.TDockTree.EndUpdate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure EndUpdate;

C++

void __fastcall EndUpdate();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TDockTree

Description

Responds when the docked controls have finished changing.

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.

See Also