HeaderPane
Main
Hide
Share Link
Print

Using Themes

Windows themes can be selected by the user using the Windows settings.

If a theme is selected, the display of user interface controls, such as SftTabs/OCX, adapts to the current display theme. Themes can provide various display styles for the same control. With themes active, Windows renders (paints) the control:

Without ThemesWith Themes

By setting the UseThemes property to True, SftTabs/OCX adapts to the current theme used. If set to False, themes are not honored and the control is rendered using the built-in style.

Because Windows renders controls when themes are active and because Windows offers only one themed tab style, themes are only supported by the tab styles styleSftTabsModernTop and styleSftTabsButtonsTop through styleSftTabsButtonsDualLeftRightV.

To prepare an application for proper themes support, the tab control should be viewed both with and without themes to make sure that the defined tab control is visually satisfactory in both cases.

Windows themes are not used while dark mode or high contrast is active, as Windows offers no dark tab style. The control then draws the tabs itself. See Dark Mode and High Contrast.

Keep in mind that numerous tab definitions, particularly relating to colors, have no effect when themes are active. You can find out if a specific tab setting has any effect with themes active by consulting the tab setting's detail information in this documentation.


Last Updated 11/19/2026 - (email)
© 2026 Softel vdm, Inc.