Overview | Methods | This Package | All Packages
Sets the index of the image that appears on this tab.
Syntax
public final void setImageIndex( int imageIndex )
Parameters
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.
Remarks
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