Navigation: ABC Library Reference > MenuStyleManager Class > MenuStyleManager Properties >====== Theme (Menu Style Color and Indicator Settings) ====== | |
Theme GROUP,PROTECTED
The Theme property is used to control the individual components of the overall Menu Style. The Group information is declared as follows:
MenuThemeType GROUP,TYPE
MenuBarNormalColorLeft LONG
MenuBarNormalColorRight LONG
MenuBarOverColorLeft LONG
MenuBarOverColorRight LONG
MenuBarSelectedColorLeft LONG
MenuBarSelectedColorRight LONG
SelectionBarColorLeft LONG
SelectionBarColorRight LONG
SelectionBarVerticalGradient BYTE
SelectionBorderColor LONG
ImageBkgndColorLeft LONG
ImageBkgndColorRight LONG
ItemNormalBkgndColor LONG
TextNormalColor LONG
TextSelectedColor LONG
TextOverColor LONG
Flat BYTE
ShowImageBar BYTE
Separator3D BYTE
SeparatorFull BYTE
VerticalLine BYTE
END
Each attribute is controlled using the following naming convention:
SELF.Theme.attribute
For example, if you need to make your menus flat:
SELF.Theme.Flat = TRUE
Implementation:
Properties in the Theme group are referenced using the SELF.Theme.attribute convention.