The effective dark mode state has changed (Automatic dark mode only).
| VB | Private Sub object_DarkModeChange(ByVal Active As Boolean) |
object
Active
The new effective dark mode state (True if dark mode is now active).
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