Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 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 9.0 page.
Created 2015.5.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version