PictureTop Property (AButton)

Returns or sets the top position in pixels of the Picture object in the object.

Syntax

Object.PictureTop [ = lPictureTop ]

The PictureTop property syntax has the following parts:

 

Name

Type

Description

Object

AButton

AButton control

lPictureTop

APixel

An integer specifying the top position of the Picture object on the AButton.

Example

The following statement changes the AButton's PictureTop so the picture starts at twelve pixels from the top of the focus area of the button.

btn1.PictureTop=12

Applies to

AButton

See Also

Picture, PictureAlignment, PictureDrawMode, PictureHeight, PictureLeft, PictureWidth