Visit Gigasoft's Web Site
 ProEssentials v9 Help

PeVertScroll

Scope

Pego, Pesgo, Pe3do, Pepso, Pepco

 

public event VertScrollEventHandler PeHorzScroll;

 

public delegate void VertScrollEventHandler(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.

 

Description

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.

 

Comments

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

 

If you are using the ProEssentials object as a scrollbar, you should set PeUserInterface.Dailog.ScrollingSubsets = False, and PeUserInterface.Scrollbar.ScrollingSubsets = 1.

 

See Also: Pego.PeUserInterface.Scrollbar