Skip to main content

TdxBarItemLinks.CreateBarControl Method

Specifies the bar control created with information stored in TdxBarItemLinks.

Declaration

procedure CreateBarControl; virtual;

Remarks

This method creates a bar control using information stored in a given TdxBarItemLinks, considering its Owner. If Owner is TdxBar, an instance of type TdxBarControl is created. Otherwise, an instance of the TdxBarSubMenuControl type is created.

Note

The newly created bar control is stored in the BarControl property.

See Also