Home > Code Library > SmartViewport > ButtonWidth

Last Update 24 May 2001

 


Search:



  

Options:

   

   

   

   



SmartViewport
Reference

ButtonWidth

Returns or sets the width in twips of the left and right scrolling buttons. This property is only available when ScrollBarType = svButtons.

Syntax

object.ButtonWidth [= value]

The ButtonWidth property syntax has these parts:

Part Description
object An object expression that evaluates to a SmartViewport object.
value A long that specifies the width of left and right scrolling buttons.

Remarks

The ButtonWidth property will only accept positive values. When the ScrollBarType property is set to svButtons, the viewport pops-up flat buttons instead of scrollbars. You can change the dimensions of these buttons by modifying properties ButtonHeight and ButtonWidth.

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