Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The ItemImage property sets an items image. The value of this property is an index into the item image list specified in the ImageList property. If there is no item image list, then this property is ignored. Set this property to zero to display no image.

The image is aligned according to the Layout property. If the layout is "Images", then the image appear by itself. The "ImagesWithText" layout displays the image on the left with the text to the right. A layout of "ImagesWithTextBelow" will center the image with the text centered below it.

...

Code Block
// Set an image for an item 
Set_Property(@Window:".OLE_SHORTCUT", "OLE.ItemImage[1; 1]", 2) 

// Remove all images from all items 
Set_Property(@Window:".OLE_SHORTCUT", "OLE.ItemImage[All; All]", 0)

See Also

GroupImageLayout