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

## scroll-parent-section-distance

Arguments: grid-widget

Returns the number of pixels by which a `grid-section` of the specified `grid-widget` will automatically be scrolled at each increment as the user drags a `grid-subsection` to a new position among its siblings. (A `grid-subsection` is either a `grid-column` or a grid-row.) The setf of this function may be called to modify the value for a particular grid-widget, or the value can be specified at creation time by passing a scroll-parent-section-distance initarg to make-instance.

If the scroll-parent-section-while-dragging property of the grid-widget is an integer, then this is the number of pixels that the parent section will scroll (when possible) each time that number of milliseconds has passed. If that property is any other true value, then this is the number of pixels that the parent will scroll for each pixel past the parent section's boundary that the user has dragged the subsection. The default value is 4, to scroll by four pixels at a time.

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