SystemTheme Property
Description
The SystemTheme property sets which system theme, if any, the CommandBars control will use.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property SystemTheme() As [XTPCurrentSystemTheme](XtremeCalendarControl~Enumerations~XTPCurrentSystemTheme_EN.md)
Remarks
SystemTheme is called to force a system theme.
The CommandBars can be forced to use one of the following themes:
- xtpSystemThemeUnknown - No known theme in use
- xtpSystemThemeBlue - Blue theme in use
- xtpSystemThemeOlive - Olive theme in use
- xtpSystemThemeSilver - Silver theme in use
- xtpSystemThemeAuto - Default Value. Will use current Operating System setting to theme.
It is not recommended to use SystemTheme to force the Blue, Olive, and Silver themes. Some parts of the application, such as border, caption, and scroll bar color, cannot be changed. For example, the CommandBars can use the Olive theme while the OS is running the Blue theme, resulting in Olive-themed CommandBars and Blue scroll bars, window border, and window caption.
See Also
Example
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.