Skip to main content

TdxBarItemLink.CreateControl Method

Creates an item control that corresponds to the current item link.

Declaration

procedure CreateControl;

Remarks

Use the CreateControl method to create an item control for the item specified by the Item property. The newly created item control belongs to the bar control specified by the BarControl property.

The CreateControl method will not create a new control if:

  • A bar control is not visible (or the BarControl property is set to nil);

  • The current item link’s Item property is nil;

  • The control for this item link already exists.

See Also