Home > Code Library > SmartViewport > ButtonHeight

Last Update 24 May 2001

 


Search:



  

Options:

   

   

   

   



SmartViewport
Reference

ButtonHeight

Returns or sets the height in twips of the top and bottom scrolling buttons. This property is only available when ScrollBarType = svButtons.

Syntax

object.ButtonHeight [= value]

The ButtonHeight property syntax has these parts:

Part Description
object An object expression that evaluates to a SmartViewport object.
value A long that specifies the height of top and bottom scrolling buttons.

Remarks

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