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

## show-selection-when-unfocused

Arguments: component

This property indicates whether the selected value in a component will be highlighted even when the component does not have the keyboard focus. component may be either a `text-edit-pane` or `rich-edit-pane` window, or a `list-view`, `editable-text`, `lisp-text`, `multi-line-editable-text`, or `multi-line-lisp-text` control.

If `nil`, then the selected value is highlighted only when the component has the keyboard focus. The advantage with this choice is that the highlighting does not distract from the component that does have the keyboard focus. It may also clarify which component has the keyboard focus, though officially the focus is indicated in some other way, such as with a dashed rectangle.

If true, then the selected value will always be highlighted. The advantage with this choice is that the user can always see what the selected value is if they might need to do so even when the component does not have the focus.

This property may not be modified after the component has been created. The value must be specified at creation time either by passing the show-selection-when-unfocused initarg to make-instance (for a dialog-item) or make-window (for a window), or by specifying the value in the inspector when designing a form interactively.

### GTK Note

This property is not implemented on GTK, and calling the function or passing its initarg will have no effect. A widget will always behave as if the property value is true.

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