Vcl.Outline.TCustomOutline.BeginUpdate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure BeginUpdate;

C++

HIDESBASE void __fastcall BeginUpdate();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Outline.pas
Vcl.Outline.hpp
Vcl.Outline TCustomOutline

Description

Prevents the updating of the outline until the EndUpdate method is called.

Call BeginUpdate before adding, removing, or moving multiple outline items. BeginUpdate speeds processing time by deferring repaints and the adjustment of index values until EndUpdate is called.

Note: Make sure that EndUpdate is called after all changes have been made to the nodes in the Items array.

See Also