HeaderPane
Main
Hide
Share Link
Print

DarkMode Property, SftTabs Object

Defines the dark mode setting (off, on, or following the Windows setting).

Syntax

Get

VBMode = object.DarkMode As SftTabsDarkModeConstants

Put

VBobject.DarkMode = Mode As SftTabsDarkModeConstants

object

A SftTabs object.

Mode

Defines the dark mode setting (off, on, or following the Windows setting).

NameValueDescription
darkSftTabsOff0Always light (the default).
darkSftTabsOn1Always dark.
darkSftTabsAuto2Follow the Windows dark mode setting.

Comments

Note: Visual Basic 6.0 does not support dark mode. Forms and the Visual Basic controls always use the light colors; only the tab control switches to the dark palette.

The DarkMode property defines the dark mode setting (off, on, or following the Windows setting).

When set to darkSftTabsAuto, the control follows the Windows 'Choose your mode' setting. In a Visual Basic 6.0 application the Windows setting is read when the control is created; a change made while the application is running takes effect the next time the application starts.

Use DarkModeActive to determine whether dark mode is currently active.

See Also SftTabs Object | Object Hierarchy | Dark Mode


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