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

## focus-on-click

Arguments: tab-control

Returns the value of the focus-on-click property of tab-control. This property determines whether a `tab-control` will receive the keyboard focus when it is clicked.

The value can be `t` or `nil`. If it is `t`, the tab-control control will have the keyboard focus when users click on it. This allows selecting different tabs using the arrow keys. The focus moves back off the tab-control when users click on some other object on the dialog.

If the value is `nil`, the keyboard focus will not move from wherever it just was when users click on the tab-control.

The focus-on-click property may not be changed on an existing control, and must instead be specified with the inspector when designing a control (using a form) or with the :focus-on-click initarg of make-instance. (It can be changed using the inspector when designing a form but not for a running control, either in the IDE or in an application.)

focus-on-click is a property of the `tab-control` class.

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