Visual Basic: MSTab Control

Picture Property (SSTab Control) Example

This example loads a bitmap from a file and places that bitmap on the active tab. To try this example, put the SSTab and CommandButton controls on the Form. Then run the example.

  Private Sub Command1_Click()
   SSTab1.Picture = LoadPicture("c:\windows\cars.bmp")
End Sub