Vcl.Outline.TCustomOutline.SetGoodIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function SetGoodIndex(Value: TOutlineNode): TOutlineNode;

C++

TOutlineNode* __fastcall SetGoodIndex(TOutlineNode* Value);

Properties

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

Description

Returns the first node in the Items array that must be reindexed to make the index of the Value parameter correct.

Call SetGoodIndex to determine how much of the Items array must be reindexed after changing the nodes in the outline. All nodes from the root to the value returned by SetGoodIndex do not need to be reindexed.

See Also