Home > Code Library > SmartViewport > OffsetRight

Last Update 24 May 2001

 


Search:



  

Options:

   

   

   

   



SmartViewport
Reference

OffsetRight

Returns or sets the amount of twips the viewport leaves between the last visible contained control and the viewport right border.

Syntax

object.OffsetRight [= value]

The OffsetRight property syntax has these parts:

Part Description
object An object expression that evaluates to a SmartViewport object.
value A long that specifies the amount of offset.

Remarks

The OffsetRight property will only accept positive values. The default value for this property is zero. You may want to force the viewport to leave a gap between the last visible contained control and the viewport right border. This will avoid your objects sticking to the borders.

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