Sets the index of the image that appears on this tab.
public final void setImageIndex( int imageIndex )
imageIndex
The zero-based index within an ImageList object of the image that appears on this tab. Set to -1 if you do not want to display an image on the tab. The default value is -1.
In addition to setting the imageIndex property, you must create an ImageList object, add images to the ImageList object, and then associate the ImageList object with the TabStrip control using the setImageList method to display images on tabs.
See Also getImageIndex