Home > Code Library > SmartViewport > ScrollBarShow

Last Update 24 May 2001

 


Search:



  

Options:

   

   

   

   



SmartViewport
Reference

ScrollBarShow Event

Occurs after a viewport scrollbar or flat button pops-up.

Syntax

Private Sub object_ScrollBarShow (ByVal ScrollBarIndex As Long)

The ScrollBarShow 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 shown 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 ScrollBarShow event is fired just after a viewport scrollbar or flat button shows.

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