User Tools

Site Tools


theme_menu_style_color_and_indicator_settings_.htm
Navigation:  ABC Library Reference > MenuStyleManager Class > MenuStyleManager Properties >====== Theme (Menu Style Color and Indicator Settings) ====== Previous pageReturn to chapter overviewNext page

Theme     GROUP,PROTECTED

blk2blue.jpg

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.

theme_menu_style_color_and_indicator_settings_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1