Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxStatusBarStateIndicators.Insert(Integer) Method

Adds a new item to the specified position within the collection.

#Declaration

Delphi
function Insert(AIndex: Integer): TdxStatusBarStateIndicatorItem;

#Parameters

Name Type
AIndex Integer

#Returns

Type
TdxStatusBarStateIndicatorItem

#Remarks

The Insert method creates a new indicator item with default settings and adds it to the specified position within the collection. The position of the item is specified by the Index parameter value. The method returns the newly created and added item so you can modify its settings as needed.

Note that if the Index parameter specifies a negative value, the item is added to the beginning of the collection. If the Index parameter value is greater or equal to the Count property value, the item is added to the end of the collection.

If you need to add a new item to the end of the collection, use the Add method instead.

See Also