ToolbarList

Overview

Represents the list of the Toolbar or MenuBar items. ToolbarList is used by the Toolbar (MenuBar) class to define the list of owners of the current Toolbar (MenuBar).

Location


 

constructor

Creates a new instance of the class.

 

constructor

 

ToolbarList()

 

Sub New()

Actions

Gets or sets reference to the action list.

 

property Actions: ActionList read write;

 

ActionList Actions { get; set; }

 

Property Actions() As ActionList

Add

Adds a specified Toolbar element to the list.

 

method Add(aToolbar: Toolbar)

 

void Add(Toolbar aToolbar)

 

Sub Add(aToolbar As Toolbar)

Parameters:

  • aToolbar: Refernce to the toolbar.;

Assign

 

method Assign(source: Object)

 

void Assign(Object source)

 

Sub Assign(source As Object)

Parameters:

  • source:

Clear

Removes all the Toolbar elements from the list.

 

method Clear

 

void Clear()

 

Sub Clear()

Count

Gets the number of the Toolbar elements in the list.

 

property Count: Int32 read;

 

Int32 Count { get; }

 

ReadOnly Property Count() As Int32

GetToolbarAt

Retrieves item at the specififed position.

 

method GetToolbarAt(aIndex: Int32): Toolbar

 

Toolbar GetToolbarAt(Int32 aIndex)

 

Function GetToolbarAt(aIndex As Int32) As Toolbar

Parameters:

  • aIndex: Index of the item.

Insert

Inserts the specified Toolbar element to the specified position.

 

method Insert(aIndex: Int32; aToolbar: Toolbar)

 

void Insert(Int32 aIndex, Toolbar aToolbar)

 

Sub Insert(aIndex As Int32, aToolbar As Toolbar)

Parameters:

  • aIndex: Index of the item.
  • aToolbar: Reference to the item.

Remove

Removes the specified Toolbar element from the list.

 

method Remove(aToolbar: Toolbar)

 

void Remove(Toolbar aToolbar)

 

Sub Remove(aToolbar As Toolbar)

Parameters:

  • aToolbar: Reference to the item.

RemoveAt

Removes a Toolbar element in the specified position.

 

method RemoveAt(aIndex: Int32)

 

void RemoveAt(Int32 aIndex)

 

Sub RemoveAt(aIndex As Int32)

Parameters:

  • aIndex: Index of the item.

Toolbars

Returns reference to the item at the specified position.

 

property Toolbars[aIndex: Int32]: Toolbar read write;

 

Toolbar Toolbars[Int32 aIndex] { get; set; }

 

Property Toolbars(aIndex As Int32) As Toolbar

 

Actions

Gets or sets reference to the action list.

 

property Actions: ActionList read write;

 

ActionList Actions { get; set; }

 

Property Actions() As ActionList

Count

Gets the number of the Toolbar elements in the list.

 

property Count: Int32 read;

 

Int32 Count { get; }

 

ReadOnly Property Count() As Int32

Toolbars

Returns reference to the item at the specified position.

 

property Toolbars[aIndex: Int32]: Toolbar read write;

 

Toolbar Toolbars[Int32 aIndex] { get; set; }

 

Property Toolbars(aIndex As Int32) As Toolbar

 

constructor

Creates a new instance of the class.

 

constructor

 

ToolbarList()

 

Sub New()

Add

Adds a specified Toolbar element to the list.

 

method Add(aToolbar: Toolbar)

 

void Add(Toolbar aToolbar)

 

Sub Add(aToolbar As Toolbar)

Parameters:

  • aToolbar: Refernce to the toolbar.;

Assign

 

method Assign(source: Object)

 

void Assign(Object source)

 

Sub Assign(source As Object)

Parameters:

  • source:

Clear

Removes all the Toolbar elements from the list.

 

method Clear

 

void Clear()

 

Sub Clear()

GetToolbarAt

Retrieves item at the specififed position.

 

method GetToolbarAt(aIndex: Int32): Toolbar

 

Toolbar GetToolbarAt(Int32 aIndex)

 

Function GetToolbarAt(aIndex As Int32) As Toolbar

Parameters:

  • aIndex: Index of the item.

Insert

Inserts the specified Toolbar element to the specified position.

 

method Insert(aIndex: Int32; aToolbar: Toolbar)

 

void Insert(Int32 aIndex, Toolbar aToolbar)

 

Sub Insert(aIndex As Int32, aToolbar As Toolbar)

Parameters:

  • aIndex: Index of the item.
  • aToolbar: Reference to the item.

Remove

Removes the specified Toolbar element from the list.

 

method Remove(aToolbar: Toolbar)

 

void Remove(Toolbar aToolbar)

 

Sub Remove(aToolbar As Toolbar)

Parameters:

  • aToolbar: Reference to the item.

RemoveAt

Removes a Toolbar element in the specified position.

 

method RemoveAt(aIndex: Int32)

 

void RemoveAt(Int32 aIndex)

 

Sub RemoveAt(aIndex As Int32)

Parameters:

  • aIndex: Index of the item.