Visit Gigasoft's Web Site
 ProEssentials v9 Help

VertScroll Event

Scope All ProEssentials OCX/VCL

 

Sub ctlname_VertScroll(SBCode As Integer, SBPosition As Integer)

 

The VertScroll event is fired after the object is scrolled either by 1) the user clicking the vertical scroll bar or 2) the user pressing the up or down arrow keys.

 

Parameter

Description

SBCode

Windows defined scrollbar codes.

 SB_BOTTOM=7

 SB_LINEDOWN=1

 SB_LINEUP=0

 SB_PAGEDOWN=3

 SB_PAGEUP=2

 SB_THUMBPOSITION=4

 SB_THUMBTRACK=5

 SB_TOP=6

SBPosition

Current position of scrollbar.

 

Comments

This event allows the ProEssentials object to function as a vertical scrollbar and thus control other related subset information. If you are using the ProEssentials object as a scrollbar, you should set NoScrollingSubsetControl = TRUE, and ScrollingSubsets = 1.

 

See Also: ScrollingVertZoom, VertScrollPos, OCX/VCL Events