THYToolbarDefList

Overview

The THYToolbarDefList class is a collection of THYToolbarDef items.

Location


 

constructor Create (THYPluginControlsRepository)  reintroduce

Creates a new instance of the class.

constructor Create(aRepository: THYPluginControlsRepository)

Parameters:

  • aRepository: Reference to the controls repository.

constructor Create (THYPluginControlsRepository, TCollectionItemClass)  reintroduce    (declared in THYRepositoryCollection)

Creates a new instance of the class.

constructor Create(aRepository: THYPluginControlsRepository; anItemType: TCollectionItemClass)

Parameters:

  • aRepository: Reference to the controls repository.
  • anItemType: Type of the item class.

Add  reintroduce

Creates new menu item.

function Add: THYToolbarDef

GetOwner  protected override    (declared in THYRepositoryCollection)

Returns the THYPluginControlsRepository that merges menus or toolbars.

function GetOwner: TPersistent

Insert  reintroduce

Creates new menu item and insert it into the specified position.

function Insert(Index: Integer): THYToolbarDef

Parameters:

  • Index: Index of the item.

Items

Gets or sets menu item with specified index.

property Items[Index: Integer]: THYToolbarDef read write

Repository    (declared in THYRepositoryCollection)

Gets the THYPluginControlsRepository control that merges menus and toolbars.

property Repository: THYPluginControlsRepository read

 

Items

Gets or sets menu item with specified index.

property Items[Index: Integer]: THYToolbarDef read write

Repository    (declared in THYRepositoryCollection)

Gets the THYPluginControlsRepository control that merges menus and toolbars.

property Repository: THYPluginControlsRepository read

 

constructor Create (THYPluginControlsRepository)  reintroduce

Creates a new instance of the class.

constructor Create(aRepository: THYPluginControlsRepository)

Parameters:

  • aRepository: Reference to the controls repository.

constructor Create (THYPluginControlsRepository, TCollectionItemClass)  reintroduce    (declared in THYRepositoryCollection)

Creates a new instance of the class.

constructor Create(aRepository: THYPluginControlsRepository; anItemType: TCollectionItemClass)

Parameters:

  • aRepository: Reference to the controls repository.
  • anItemType: Type of the item class.

Add  reintroduce

Creates new menu item.

function Add: THYToolbarDef

GetOwner  protected override    (declared in THYRepositoryCollection)

Returns the THYPluginControlsRepository that merges menus or toolbars.

function GetOwner: TPersistent

Insert  reintroduce

Creates new menu item and insert it into the specified position.

function Insert(Index: Integer): THYToolbarDef

Parameters:

  • Index: Index of the item.