API:Vcl.RibbonActnMenus.TOptionItems.Insert
Delphi
function Insert(Index: Integer): TOptionItem;
C++
HIDESBASE TOptionItem* __fastcall Insert(int Index);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.RibbonActnMenus.pas Vcl.RibbonActnMenus.hpp |
Vcl.RibbonActnMenus | TOptionItems |
Description
Creates a new TCollectionItem instance and adds it to the Items array.
Vcl.RibbonActnMenus.TOptionItems.Insert inherits from System.Classes.TCollection.Insert. All content below this line refers to System.Classes.TCollection.Insert.
Creates a new TCollectionItem instance and adds it to the Items array.
Call Insert to add a new item at a specified position in the collection. Existing items (starting from the specified position) are moved up in the Items array.
Insert returns the new collection item.