Returns or sets the amount of twips the viewport leaves between the last visible
contained control and the viewport right border.
object.OffsetRight [= value]
The OffsetRight property syntax has these parts:
||An object expression that evaluates to a SmartViewport object.
||A long that specifies the amount of offset.
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.