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

## select-on-right-click

Arguments: outline

Returns the value of the select-on-right-click property of an `outline` control. The value may be set at creation time by passing the :select-on-right-click initarg, or any time later by calling (setf select-on-right-click).

If this `outline` property is true, then right-clicking the widget will select the `outline-item` under the mouse before doing any other right-click behavior. If `nil`, it will not.

The default value is `nil`. It may be useful to set this property to true if, for example, you would like the user to be able to right-click an `outline-item` to both select that item and to pop up a menu whose commands would be applied to the selected item.

Other right-click behavior for an outline might be implemented in a mouse-right-down or shortcut-commands method for the associated `outline-pane`. If this property is true and there is a shortcut-commands method for the `outline-pane`, then the pop-up-menu will be positioned just below the selected `outline-item`.

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