TdxBarManager.AddItem(TdxBarItemClass) Method
Creates an instance of the AClass item and adds it to the current bar manager.
Declaration
function AddItem(AClass: TdxBarItemClass): TdxBarItem;
Parameters
| Name | Type |
|---|---|
| AClass | TdxBarItemClass |
Returns
| Type |
|---|
| TdxBarItem |
Remarks
You can use this method to instantiate any bar item (for example, a button or an editor), which belongs to the TdxBarItem family.
AClass specifies the type of a particular item to be created.
This function returns a reference to the newly created item.
See Also