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.





Windows defined scrollbar codes.










Current position of scrollbar.



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