[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# THeaderSection.OriginalIndex

Index position which does not change when the user reorders the sections on a header control.

## Declaration

Source position: comctrls.pp line 3989

`public property THeaderSection.OriginalIndex : Integer read FOriginalIndex;`

## Description

OriginalIndex is an Integer property which contains the index order for the section when it was added to its Owner collection. The property value is assigned when the class instance is created in the AddItem method in THeaderSections. It normally contains the value in Index unless the value is already in use in the collection.

OriginalIndex may be updated when Delete in the THeaderSections is used to remove a header section from the collection.

## Version info

Modified in LCL version 4.0; changed to public visibility.

## See also

THeaderSections.AddItem |  | Adds the specified header section at the position specified in Index.
THeaderSections.Delete |  | Deletes the collection item stored at the specified position in the collection.
TCollectionItem.Index