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

## border-color

Arguments: grid-object

Returns the color that will be used to draw border lines in a `grid-widget`, `grid-section`, `scrolling-static-text`, `chart-legend`, or `lamp`. The value may be set at creation time by passing the border-color initarg, or any time later by calling (setf border-color).

## Border-color for a grid-widget or grid section

Specifies the color in which to draw a border line along the right side of a `grid-column` or `grid-column-section`, or along the bottom of a `grid-row` or `grid-row-section`, or around an entire `grid-widget`.

The value may be either an RGB color object (as returned by make-rgb or ask-user-for-color), or a symbol whose global value is an RGB object, or nil to use a default color. The value may also be `t` to to use the system-edge-shadow-color. The default is `t` for a `grid-widget` and `nil` for the others.

When `nil`, effective-border-color will find the default color to use (except for a `grid-widget`, where `nil` will use `black`).

## Border-color in a scrolling-static-text

The value may be `nil` to draw no border at all, or an RGB color object (see make-rgb) to draw a border in that color, or `t` to draw a border in the system-edge-shadow-color. The default is `nil`. See also draw-focus.

## Border-color in a chart-legend of a chart-widget

Returns the value of the border-color property of a `chart-legend`. The value may be set at creation time by passing the `border-color` initarg, or any time later by calling (setf border-color).

The color that is used to draw the rectangular border around the `chart-legend` of a `chart-widget`. The value should be an RGB object (see make-rgb). The default value is the value of `gray`.

This property is used only when the draw-legend and draw-legend-border properties of the `chart-legend` are both true.

## Border-color in a lamp widget

Specifies the color of the lines that are drawn for the perimeter of each lamp image, as opposed to the on-color and off-color that are used to fill the image. (A border is never drawn around the entire widget.) The default is the value of the constant `black`.

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