SheetListImage

Applies to

Window controls

Description

Specifies the image to be displayed for the SheetList button. The default width and height of the image for the small button is 16 * 16 pixels, and for the large button is 32 * 32 pixels.

If no image is specified, the system default image will be displayed.

Usage

In a painter

To specify the image for the SheetList button:

  1. In the Window painter, select the RibbonView tab page in the window's Properties view.

  2. Input the file path or URL address of the image to the SheetListImage text box, or click the ellipsis button after the SheetListImage text box to select an image from the dialog box.

In scripts

This statement sets the image for the SheetList button to icon1.ico:

mdi_1.SheetListImage = "icon1.ico"