Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version