Picture Property (AButton)

Returns or sets the Picture object displayed on the object.

Syntax

Object.Picture [ = picPicture ]

The Picture property syntax has the following parts:

 

Name

Type

Description

Object

AButton

AButton control

picPicture

APicture

A picture object.

Comments

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.

Example

The following statement changes the AButton's Picture to a given image file:

btn1.Picture = LoadPicture ("c:\dirname\filename.bmp")

Applies to

AButton

See Also

AImage, APicture, PictureAlignment, PictureDrawMode, PictureHeight, PictureLeft, PictureTop, PictureWidth