Returns or sets the Picture object displayed on the object.
Object.Picture [ = picPicture ]
The Picture property syntax has the following parts:
Name |
Type |
Description |
Object |
AButton |
AButton control |
picPicture |
A picture object. |
The default is no picture. The Picture on a button shows up to the left of any text on the button and does not cover the background of the button face. However, the Picture image can be manually stretched to cover the face of the button.
The following statement changes the AButton's Picture to a given image file:
btn1.Picture = LoadPicture ("c:\dirname\filename.bmp")
AImage, APicture, PictureAlignment, PictureDrawMode, PictureHeight, PictureLeft, PictureTop, PictureWidth