LispWorks CAPI User Guide > 7 Modifying CAPI Windows

NextPrevUpTopContentsIndex

7.3 Scrolling

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.

7.3.1 Automatic scrolling


LispWorks CAPI User Guide (Unix version) - 22 Dec 2009

NextPrevUpTopContentsIndex