Home > Code Library > SmartMenuXP > OffsetTop

Last Update 01 Nov 2001









SmartMenuXP Reference

OffsetTop Property

Returns or sets the distance between the menu items and the menu bar top edge.


object.OffsetTop [= value]

The OffsetTop property syntax has these parts:

Part Description
object An object expression that evaluates to a SmartMenuXP object.
value A numeric value or constant that determines the top offset.

At design time, the default OffsetTop for the SmartMenuXP is set to 45.


The OffsetTop will only accept a value greater o equal to zero. The value is always expressed in Twips. 

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