Skip to main content

TdxBarControlContainerItem.Control Property

Specifies the external control to display within a toolbar.

Declaration

property Control: TControl read; write;

Property Value

Type
TControl

Remarks

Use this property to specify a visual control to display within your toolbar. First, place the desired control onto a form and assign it to the appropriate TdxBarControlContainerItem object. Next, set the Visible property of the external control to False. The desired control will now be displayed as an element of the toolbar.

Important

Only basic controls are eligible to be put into submenus or Ribbon controls. In other words, those controls should not have window handles.

Only one instance of an external control should be visible when running an application, therefore set the Visible property of the external control to False in order to provide faultless functionality.

See Also