| HbListBox() > Methods |
![]() |
![]() |
![]() |
Scrolls items in the list box.
:scroll( <nMode> ) --> self
Constants for the :scroll() method
| Constant | Value | Description |
|---|---|---|
| HTSCROLLUNITDEC | -3074 | Scroll down one line |
| HTSCROLLUNITINC | -3075 | Scroll up one line |
| HTSCROLLBLOCKDEC | -3076 | Scroll down one page |
| HTSCROLLBLOCKINC | -3077 | Scroll up one page |
Method :scroll() scrolls the items visible in the list box window up or down by one line or an entire page. This is usually done in response to a scroll bar being clicked with the mouse when the list box is displayed with a vertical scroll bar.
http://www.xHarbour.com