Picture Property (AForm)

Returns or sets a picture object to be displayed on the object.

Syntax

Object.Picture [ = pic ]

The Picture property syntax has the following parts:

 

Name

Type

Description

Object

AForm

AForm object

pic

APicture

A picture object. The default is no picture.

Comments

The Picture image is displayed as the form background image. The picture can either be:

Example

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

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

frm1.PictureDrawMode=aformPictureDrawModeTile

Applies to

AForm

See Also

AImage, APicture, PictureDrawMode