All Manuals > CAPI User Guide > 8 Modifying CAPI Windows

NextPrevUpTopContentsIndex

8.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.

8.3.1 Automatic scrolling


CAPI User Guide (Macintosh version) - 30 Aug 2011

NextPrevUpTopContentsIndex