HScroll Event
9.0B, PLBCMP GUI Only
The HScroll event occurs when the horizontal scrollbar for a LISTVIEW object is clicked or changed using the thumb button.
Note the following:
The HScroll event is referenced using an event value of twenty-eight (28). The equated label in PLBEQU.INC for this event is $HSCROLL.
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 left scroll |
|
1 |
Line right scroll |
|
2 |
Page left scroll |
|
3 |
Page right scroll |
|
4 |
Thumb position change |
|
5 |
Thumb track change |
|
6 |
Home left position |
|
7 |
Home right position |
See Also: EVENTREGISTER, Object Events, Object IO Instructions, Object Definitions
![]() |