Home > Code Library > SmartNetButton > CaptionOffsetTop

Last Update 24 May 2001










CaptionOffsetTop Property

Returns or sets the top offset between each caption position and the edge of the caption display area.


object.CaptionOffsetTop [= value]

The CaptionOffsetTop property syntax has these parts:

Part Description
object An object expression that evaluates to a SmartNetButton object.
value A numeric value or constant that determines the top offset of the caption area.

At design time, the default CaptionOffsetTop for the SmartNetButton is set to 0.


The CaptionOffsetTop will only accept a value greater o equal to zero. This property can be changed at both design and run-time.

Caption area has 4 possible offsets

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