Skip to main content

TCustomdxBarSubItem.GetDetachingBar Method

Returns a toolbar assigned to a specific subitem.

Declaration

function GetDetachingBar: TdxBar;

Returns

Type
TdxBar

Remarks

The ExpressBars Suite allows you to implement detachable submenus in your application. Said differently, if the Detachable property is set to True, a bar appears at the top of the submenu list. By dragging this bar, a user can activate the toolbar assigned via the DetachingBar property. The DetachingBar property contains the toolbar’s index, therefore, call the GetDetachingBar method to obtain the appropriate TdxBar object.

See Also