TabPicture Property (SSTab Control)

       

Returns or sets the bitmap or icon to display on the specified tab of an SSTab control.

Syntax

object.TabPicture(tab) [ = picture ]

The TabPicture property syntax has these parts:

Part Description
object An object expression that evaluates to an SSTab control.
tab A numeric expression that specifies the tab on which to display the picture.
picture A string expression that specifies a graphic, as described in Settings.

Settings

The settings for picture are:

Setting Description
(None) (Default) No picture.
(Bitmap, icon, metafile) Specifies a graphic. At run time, you can set this property using the LoadPicture function or the Picture property of another control or Form object.

Remarks

At design time, you can set the TabPicture property by clicking a tab then setting the Picture property in the Properties window. Or you can select (Custom) in the Properties window and set the Picture property in the Pictures tab of the Properties dialog box.

At run time, you can refer to or change the graphic on any tab using the TabPicture property or use the Picture property to work with the active tab.