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

## effective-border-width

Arguments: grid-section-or-subsection

Returns the width in pixels that will be used to draw the border along the right side of a `grid-column` or `grid-column-section` or along the bottom side of a `grid-row` or `grid-row-section`. An application may either call or override this generic function, though it typically should not be necessary to do either, since border widths are usually specified with the border-width and/or default-cell-border-width properties, and effective-border-width is called internally whenever a grid border line is drawn.

The default method for `grid-subsection` (for a `grid-row` or a `grid-column`) will return the border-width property of the subsection if non-`nil`. Otherwise it will return the default-cell-border-width of the `grid-section` that contains the subsection, if non-`nil`, or else the default-cell-border-width property of the whole `grid-widget`, if non-`nil`. If none of these properties have been specified, then 1 is returned (since the return value must be an actual width).

The default method for `grid-section` (for a `grid-row-section` or a `grid-column-section`) will return the section's border-width property if non-`nil`, or else the default-cell-border-width property of the whole `grid-widget`, if non-`nil`, or finally 2.

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