HeaderPane
Main
Hide
Share Link
Print

DarkModeChange Event, SftTabs Object

The effective dark mode state has changed (Automatic dark mode only).

Syntax

VBPrivate Sub object_DarkModeChange(ByVal Active As Boolean)

object

A SftTabs object.

Active

The new effective dark mode state (True if dark mode is now active).

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 DarkModeChange event occurs when the effective dark mode state changes while DarkMode is set to darkSftTabsAuto and the user changes the Windows setting. The event requires a container that passes the Windows setting change on to the control. Visual Basic 6.0 does not, so the event does not occur in a Visual Basic 6.0 application.

See Also SftTabs Object | Object Hierarchy | DarkMode | DarkModeActive | Dark Mode


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