Skip to content

peVisualTheme - cCJCommandBarSystem

Determines the appearance or theme of the menu bar, tool bars and status bar

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer peVisualTheme
Access Type Syntax
Read Access: Get peVisualTheme to IntegerVariable
Write Access: Set peVisualTheme to IntegerVariable/Value

Description

peVisualTheme determines the appearance or theme of your commandbar system (menu bar, tool bars and status bar). It also determines the appearance of your ClientArea.

The following themes are supported:

Constant Meaning
xtpThemeOffice2000 specifies the Office2000 visual theme
xtpThemeOfficeXP specifies the OfficeXP visual theme
xtpThemeOffice2003 specifies the Office2003 visual theme
xtpThemeNativeWinXP specifies the WindowsXP visual style
xtpThemeWhidbey specifies the Visual Studio 2005 "Whidbey" visual style
xtpThemeOffice2007 specifies the Office2007 visual theme
xtpThemeRibbon specifies the Ribbon visual theme. Note that this is very similar to the xtpThemeOffice2007 theme with only small differences that can bee seen when a button is highlighted and the menu text color is different. There is just more graphics with this theme to give a "glass" look on mouse over.

Default value is xtpThemeWhidbey

Using Skins

If you are using the Codejock skinning framework, the skin applied will change the appearance of your theme. When using skins you should always start by setting the peVisualTheme to xtpThemeNativeWinXP. This will provide the most consistent appearance with your skin. You may however experiment by mixing skins and themes.