THYToolbarDef

Overview

The THYToolbarDef class is used to represent a toolbar definition. Items of this type are stored inside a THYPluginControlsRepository component and used to create toolbars at runtime.

Location


 

constructor Create  override

Creates a new instance of the class.

constructor Create(aCollection: TCollection)

Parameters:

  • aCollection: Reference to a parent collection.

Assign  override

Assigns an action from the source object to this object.

procedure Assign(Source: TPersistent)

Parameters:

  • Source: Reference to the source object.

Collection    (declared in THYRepositoryCollectionItem)

Gets reference to the THYRepositoryCollection that holds this item.

property Collection: THYRepositoryCollection read

Items

Gets or sets reference to a menu item list.

property Items: THYToolbarItemDefList read write

Left

Gets or sets left position of the toolbar.

property Left: Integer read write

Name

Gets or sets name.

property Name: string read write

Row

Gets or sets row number of the toolbar.

property Row: Integer read write

Top

Gets or sets top position of the toolbar.

property Top: Integer read write

 

Collection    (declared in THYRepositoryCollectionItem)

Gets reference to the THYRepositoryCollection that holds this item.

property Collection: THYRepositoryCollection read

Items

Gets or sets reference to a menu item list.

property Items: THYToolbarItemDefList read write

Left

Gets or sets left position of the toolbar.

property Left: Integer read write

Name

Gets or sets name.

property Name: string read write

Row

Gets or sets row number of the toolbar.

property Row: Integer read write

Top

Gets or sets top position of the toolbar.

property Top: Integer read write

 

constructor Create  override

Creates a new instance of the class.

constructor Create(aCollection: TCollection)

Parameters:

  • aCollection: Reference to a parent collection.

Assign  override

Assigns an action from the source object to this object.

procedure Assign(Source: TPersistent)

Parameters:

  • Source: Reference to the source object.