Home > Code Library > SmartViewport > ScrollBarHide

Last Update 24 May 2001

 


Search:



  

Options:

   

   

   

   



SmartViewport
Reference

ScrollBarHide Event

Occurs after a viewport scrollbar or flat button hides.

Syntax

Private Sub object_ScrollBarHide (ByVal ScrollBarIndex As Long)

The ScrollBarHide event syntax has these parts:

Part Description
object An object expression that evaluates to a SmartViewport object.
ScrollBarIndex A Long that determines which scrollbar is hidden as described in Settings.

Settings

When ScrollBarType is equal to svScrollBars, the settings for ScrollBarIndex are:

Setting Description
0 The vertical scrollbar has been hidden.
1 The horizontal scrollbar has been hidden.

When ScrollBarType is equal to svButtons, the settings for ScrollBarIndex are:

Setting Description
0 The top flat button has been hidden.
1 The bottom flat button has been hidden.
2 The left flat button has been hidden.
3 The right flat button has been hidden.


Remarks

The ScrollBarHide event is fired just after a viewport scrollbar or flat button hides.

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