VLMenuPlus Reference

Read/Write Property HighlightStyle

See Also See Also Applies To Applies To

Get/Sets highlighting style used for background of the selected menu item.

 

Syntax

object.HighlightStyle [=value]

 

The HighlightStyle property syntax has these parts:

Part Description
Object An object expression that evaluates to VLMenuPlus
value An integer specifying the highlighting style to be used for selected menu background, as described in Settings.

 

Settings

The settings for value are:

Constant Setting Description
Plain

0 Selected menuitem will be highlighted with a flood filled.
Horizontal Left To Right

1 (Default) Selected menuitem will be highlighted with a gradient fill from left to right.

At the left edge highlight bar will have highlighting color as per current settings, gradually fading into the background towards the right edge of the selected menuitem.

Horizontal Right To Left

2 Selected menuitem will be highlighted with a gradient fill from right to left.

At the right edge highlight bar will have highlighting color as per current settings, gradually fading into the menu background towards the left edge of the selected menuitem.

Horizontal Center

3 Selected menuitem will be highlighted with a gradient fill from center to left and right.

At the center of the highlight bar will have highlighting color as per current settings, gradually fading into the menu background towards the left as well as right edge of the selected menuitem.

Vertical Top To Bottom

4 Selected menuitem will be highlighted with a gradient fill from top to bottom.

At the top edge highlight bar will have highlighting color as per current settings, gradually fading into the menu background towards the bottom edge of the selected menuitem.

Vertical Bottom To Top

5 Selected menuitem will be highlighted with a gradient fill from top to bottom.

At the bottom edge highlight bar will have highlighting color as per current settings, gradually fading into the menu background towards the top edge of the selected menuitem.

Vertical Center

6 Selected menuitem will be highlighted with a gradient fill from center to top and bottom.

At the center of the highlight bar will have highlighting color as per current settings, gradually fading into the menu background towards the top as well as bottom edge of the selected menuitem.

Diagonal

7 Selected menuitem will be highlighted with a gradient fill from top, left to the bottom, right.

At the top-left corner of the highlight bar will have highlighting color as per current settings, gradually fading into the menu background towards the bottom-right corner of the selected menuitem.

Radial

8 Selected menuitem will be highlighted with a gradient fill from center in all directions

At the center point of the highlight bar will have highlighting color as per current settings, gradually fading into the menu background towards all the edges of the selected menuitem.

XP

9 Selected menuitem will be highlighted with a XP style highlight bar.

The highlight bar will have highlighting color as per current settings with a thin border.

Office 2003

10 Selected menuitem will be highlighted with a office 2003 style highlight bar.

The highlight bar will have highlighting color as per current settings with a thin border.