Programmatic scrolling is implemented with the generic function
scroll
. This example shows vertical scrolling in a
list-panel
:
(setf list-panel
(contain
(make-instance 'list-panel
:items (loop for i below 100 collect i)
:vertical-scroll t)))
(apply-in-pane-process
list-panel 'scroll list-panel :vertical :move 50)
Elsewhere this manual shows how an
editor-pane
can be scrolled using editor commands.
CAPI User Guide (Windows version) - 30 Aug 2011