Skip to main content

TdxDockPanel.ShowSingleTab Property

Specifies if the panel should display its tab when not joined into a tab container.

Declaration

property ShowSingleTab: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

By default, tabs that correspond to dock panels are displayed only when panels are joined into a tab container. These tabs are used for switching between the tab container’s children. There are cases, however, when you may need to display the panel’s corresponding tab even when it is not within a tab container. This takes place, for instance, when developing a user interface similar to the Visual Studio .NET IDE. In such cases, dock panels containing documents do not display their captions (their ShowCaption property value is False). Documents are identified by their corresponding tabs. Thus, tabs should be displayed even when there is only a single document open (there is no tab container created).

If the ShowSingleTab property value is True, the dock panel displays its corresponding tab at the position specified by the TabsProperties.TabPosition property. Refer to the TabsProperties property description to learn about other tab settings available in dock panels.

The default value of the ShowSingleTab property is False.

See Also