Data.Bind.DBLinks.TBaseDBGridLinkColumn.SetIndex

From RAD Studio API Documentation

Delphi

procedure SetIndex(Value: Integer); override;

C++

virtual void __fastcall SetIndex(int Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Data.Bind.DBLinks.pas
Data.Bind.DBLinks.hpp
Data.Bind.DBLinks TBaseDBGridLinkColumn

Description

Moves the collection item to a specified position in the parent collection. {{#multireplace:Data.Bind.DBLinks.TBaseDBGridLinkColumn.SetIndex|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Classes.TCollectionItem.SetIndex|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Classes.TCollectionItem.SetIndex|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Moves the collection item to a specified position in the parent collection.

SetIndex is the protected write implementation of the Index property. The Value parameter specifies the new (0-based) position for the item in its parent collection.

See Also