Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## set-first-visible-line

Arguments: window-or-widget line &optional relative-p

If relative-p is `nil` (the default), this function scrolls the window-or-widget so that line is the first visible line. If relative-p is true, scrolls the window so the first visible line is line lines from the current position.

window-or-widget may be a `text-edit-window`, `text-edit-pane`, multi-line-editable-text, `single-item-list`, `multi-item-list`, `outline`, or `scrolling-static-text`.

line should be an integer, identifying the line to be displayed (if relative-p is `nil`) or the number of lines from the current position to be displayed (if relative-p is true). Zero indicates the topmost line.

relative-p is a boolean which controls whether line should be interpreted as an absolute (value `nil`, the default) or a relative (value true) number.

The return value is undefined.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version