ImgSidebar

Name of the image file or glyph to use as the background of the menu sidebar.

This property can only be set in the .ini file.

[application]
menu=umenu(imgsidebar=@ImageName | ^GlyphName)

Description

By default, menus in Windows have a sidebar to the left of the menu items (or to the right if the application is configured for a right-to-left character set). This space is reserved to display images associated with the menu item.

You can use the ImgSidebar to specify a background image for menu sidebar. If you specify a small image, it is automatically stretched to fit the width of the menu.

If ImgSidebar is defined, the BackColorSidebar property is ignored.

Setting ImgSidebar

The following properties, set in the usys.ini file, specify images to be used as the background for the menu sidebar and the selected menu item.

[application]
menu=umenu(imgsidebar=@blue.png;imgSelect=yellow.png)

Applies To

Menu Objects

Related Topics