Skip to main content

dxBarRegisterItem(TdxBarItemClass,TdxBarItemControlClass,Boolean) Method

Registers an item class.

Declaration

procedure dxBarRegisterItem(AItemClass: TdxBarItemClass; AItemControlClass: TdxBarItemControlClass; AVisible: Boolean);

Parameters

Name Type
AItemClass TdxBarItemClass
AItemControlClass TdxBarItemControlClass
AVisible Boolean

Remarks

This procedure is necessary when creating custom items. Use dxBarRegisterItem to register your own item classes. dxBarRegisterItem links an item control class, specified by the AItemControlClass to the item class, specified by the AItemClass. If AVisible is True, the new item will be visible in the TdxBarManager list of registered items; Otherwise, the item is not visible in the list, but you can still create it at run time and use it as any other item.

See Also