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
- Reference: RemObjects.Hydra.dll
- Namespace: RemObjects.Hydra.Actions
- Ancestry: Component | ToolbarList
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.
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.
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.
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.
constructor
Creates a new instance of the class.
constructor
ToolbarList()
Sub New()
Add
Adds a specified Toolbar element to the list.
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.
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.
- Toolbar Class