VScroll Event
9.0B, PLBCMP GUI Only
The VScroll event occurs when the vertical scrollbar for a LISTVIEW object is clicked or changed using the thumb button.
Note the following:
The VScroll event is referenced using an event value of twenty-nine (29). The equated label in PLBEQU.INC for this event is $VSCROLL.
The Event Result value is set to current position of the scroll box if the Event Modifier value is set to $SB_THUMBPOSITION or $SB_THUMBTRACK. Otherwise, the Event Result value is not used.
The Event Modifier contains a value from the following table:
|
Value |
Scroll Action |
|
0 |
Line up scroll |
|
1 |
Line down scroll |
|
2 |
Page up scroll |
|
3 |
Page down scroll |
|
4 |
Thumb position change |
|
5 |
Thumb track change |
|
6 |
Home up position |
|
7 |
Home down position |
See Also: EVENTREGISTER, Object Events, Object IO Instructions, Object Definitions
![]() |