Visit Gigasoft's Web Site
 ProEssentials v9 Help

PeHorzScroll

Scope

Pego, Pesgo, Pe3do

 

public event HorzScrollEventHandler PeHorzScroll;

 

public delegate void HorzScrollEventHandler(object sender, ProEssentials.EventArg.ScrollEventArgs e);

 

public ScrollEventArgs(ProEssentials.Enums.SBCode scrollbarCode, int position)

 

Argument

Description

scrollbarCode

ProEssentials.Enums.SBCode

LineUp = 0

LineDown = 1

PageUp = 2

PageDown = 3

ThumbPosition = 4

ThumbTrack = 5

Top = 6

Bottom = 7

position

Current position of scrollbar.

For Pego, position is point index,

For Pesgo/Pe3do, position is a value between 1 to 30000 representing relative position within full range of axis.

 

Description

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.

 

For the Pego object, position is data point index, for Pesgo/Pe3do, position is a value between 1 to 30000 representing relative position within full range of axis.

 

Comments

This event allows the ProEssentials object to function as a horizontal scrollbar and thus control other related information.

 

See Also: Pego.PeUserInterface.Scrollbar