Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 This page is new in 9.0.

## 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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page is new in the 9.0 release.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 This page is new in 9.0.