Home > Code Library > SmartNetButton > CaptionAreaLayout

Last Update 24 May 2001










CaptionAreaLayout Property

Returns or sets the position of the caption area respect to the picture area.


object.CaptionAreaLayout [= value]

The CaptionAreaLayout 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 layout of the caption area, as described in Settings.


The CaptionAreaLayout property settings for SmartNetButton are:

Constant Setting Description
sbLeft 0 The caption area will be to the left of the picture area.
svRight 1 The caption area will be to the right of the picture area.
svTop 2 The caption area will be above the picture area.
svBottom 3 The caption area will be below the picture area.

At design time, the default CaptionAreaLayout for the SmartNetButton is set to sbBottom.


The CaptionAreaLayout property can be changed at both design and run-time. This property defines the caption area position relative to the picture area.

CaptionAreaLayout is sbRight

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