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()
init()
Sub New()
Actions
Gets or sets reference to the action list.
property Actions: ActionList read write;
ActionList Actions { get; set; }
var Actions: ActionList { get{} set{} }
Property Actions() As ActionList
Add
Adds a specified Toolbar element to the list.
method Add(aToolbar: Toolbar)
void Add(Toolbar aToolbar)
func Add(_ aToolbar: Toolbar)
Sub Add(aToolbar As Toolbar)
Parameters:
- aToolbar: Refernce to the toolbar.;
Assign
method Assign(source: Object)
void Assign(Object source)
func Assign(_ source: Object)
Sub Assign(source As Object)
Parameters:
- source:
Clear
Removes all the Toolbar elements from the list.
method Clear
void Clear()
func Clear()
Sub Clear()
Count
Gets the number of the Toolbar elements in the list.
property Count: Int32 read;
Int32 Count { get; }
var Count: Int32 { get{} }
ReadOnly Property Count() As Int32
GetToolbarAt
Retrieves item at the specififed position.
method GetToolbarAt(aIndex: Int32): Toolbar
Toolbar GetToolbarAt(Int32 aIndex)
func GetToolbarAt(_ aIndex: Int32) -> Toolbar
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)
func Insert(_ aIndex: Int32, _ aToolbar: Toolbar)
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)
func Remove(_ aToolbar: Toolbar)
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)
func RemoveAt(_ aIndex: Int32)
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; }
subscript Toolbars(_ aIndex: Int32) -> Toolbar { 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; }
var Actions: ActionList { get{} set{} }
Property Actions() As ActionList
Count
Gets the number of the Toolbar elements in the list.
property Count: Int32 read;
Int32 Count { get; }
var Count: Int32 { 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; }
subscript Toolbars(_ aIndex: Int32) -> Toolbar { get{} set{} }
Property Toolbars(aIndex As Int32) As Toolbar
constructor
Creates a new instance of the class.
constructor
ToolbarList()
init()
Sub New()
Add
Adds a specified Toolbar element to the list.
method Add(aToolbar: Toolbar)
void Add(Toolbar aToolbar)
func Add(_ aToolbar: Toolbar)
Sub Add(aToolbar As Toolbar)
Parameters:
- aToolbar: Refernce to the toolbar.;
Assign
method Assign(source: Object)
void Assign(Object source)
func Assign(_ source: Object)
Sub Assign(source As Object)
Parameters:
- source:
Clear
Removes all the Toolbar elements from the list.
method Clear
void Clear()
func Clear()
Sub Clear()
GetToolbarAt
Retrieves item at the specififed position.
method GetToolbarAt(aIndex: Int32): Toolbar
Toolbar GetToolbarAt(Int32 aIndex)
func GetToolbarAt(_ aIndex: Int32) -> Toolbar
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)
func Insert(_ aIndex: Int32, _ aToolbar: Toolbar)
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)
func Remove(_ aToolbar: Toolbar)
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)
func RemoveAt(_ aIndex: Int32)
Sub RemoveAt(aIndex As Int32)
Parameters:
- aIndex: Index of the item.
- Toolbar Class