Visit Gigasoft's Web Site
 ProEssentials v9 Help

HorzScroll Event

Scope Graph, Scientific Graph, and 3D Scientific Graph OCX/VCL

 

Sub ctlname_HorzScroll(SBCode As Integer, SBPosition As Integer)

 

The HorzScroll event is fired after the object is scrolled either by 1) the user clicking the horizontal scroll bar or 2) the user pressing the left or right 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 horizontal scrollbar and thus control other related information.

 

See Also: AllowZooming, ScrollingHorzZoom, AllowRotation, HorzScrollPos, OCX/VCL Events