Picture Property (AStatusBarPane)

Returns or sets the picture for the object.

Syntax

Object.Picture [ = picPicture ]

The Picture property syntax has the following parts:

 

Name

Type

Description

Object

AStatusBarPane

AStatusBarPane object

picPicture

APicture

APicture object

Comments

At run time, the Picture property can be set to any other object's Icon, Image, or Picture property, or you can assign it the graphic returned by the LoadPicture function.

Example

The following statement sets the picture of the AStatusBarPane:

sbrp1.Panes(1).Picture=LoadPicture("c:\\temp\\pane1.bmp")

Applies to

AStatusBarPane

See Also

Alignment, Style, Width