Home > Code Library > SmartMenuXP > OffsetRight

Last Update 01 Nov 2001









SmartMenuXP Reference

OffsetRight Property

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


object.OffsetRight [= value]

The OffsetRight 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 right offset.

At design time, the default OffsetRight for the SmartMenuXP is set to 75.


The OffsetRight 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.