Returns or sets the background picture for the object.
Object.Picture [ = pic ]
The Picture property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
ATabPage |
ATabPage object |
|
pic |
A picture object. The default is no picture. |
The Picture image is displayed as the tab page background image. The picture can either be:
stretched to fill the tab page or
displayed at its original image size. If displayed at its original image and the original image size is larger than the tab page size, the picture image is clipped to fit the tab page size.
The following statement changes the ATabPage's Picture to a given image file:
tabCustomize.Picture = LoadPicture ("c:\dirname\filename.bmp")