Home > Code Library > SmartNetButton > PictureLayout

Last Update 24 May 2001

 


Search:



  

Options:

   

   

   

   



SmartNetButton
Reference

PictureLayout Property

Returns or sets the position of the picture within the picture display area.

Syntax

object.PictureLayout [= value]

The PictureLayout property syntax has these parts:

Part Description
object An object expression that evaluates to a SmartNetButton object.
value A value or constant that determines the position of the picture within the picture display area, as described in Settings.

Settings

The PictureLayout property settings for SmartNetButton are:

Constant Setting Description
sbBottomLeft 0 The picture will appear on the bottom-left.
sbBottomCenter 1 The picture will appear on the bottom-center.
sbBottomRight 2 The picture will appear on the bottom-right.
sbvMiddleLeft 3 The picture will appear on the middle-left.
sbvMiddleCenter 4 The picture will appear on the middle-center.
sbvMiddleRight 5 The picture will appear on the middle-right.
sbvTopLeft 6 The picture will appear on the top-left.
sbTopCenter 7 The picture will appear on the top-center.
sbTopRight 8 The picture will appear on the top-right.

At design time, the default PictureLayout for the SmartNetButton is set to sbMiddleCenter.

Remarks

The PictureLayout property can be changed at both design and run-time. This property defines the position of the picture within its display area. You can also adjust this position by changing properties PictureOffsetLeft, PictureOffsetRight, PictureOffsetTop or PictureOffsetBottom.


Caption has 9 possible layouts


 
Copyright © 2001, Andrés Pons (andres@vbsmart.com). All rights reserved.