THYToolbarItemDef

Overview

Location

Properties


Action    (declared in THYActionItemDef)

Gets or sets link to the action that will be linked to the control created in the host form by a toolbar or menu controller. Properties such as caption, shortcut, image bitmap, etc. must be properly assigned to the action.

property Action: TBasicAction read write

Collection    (declared in THYRepositoryCollectionItem)

Gets reference to the THYRepositoryCollection that holds this item.

property Collection: THYRepositoryCollection read

Instance Methods


constructor Create  override    (declared in THYRepositoryCollectionItem)

Creates a new instance of the class.

constructor Create(aCollection: TCollection)

Parameters:

  • aCollection: Reference to a parent collection.

Assign  override    (declared in THYActionItemDef)

Assigns an action from the source object to this object.

procedure Assign(Source: TPersistent)

Parameters:

  • Source: Reference to the source object.

SetAction  protected virtual    (declared in THYActionItemDef)

Sets the link to an action.

procedure SetAction(const Value: TBasicAction)

Parameters:

  • Value: Reference to an action.