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

## 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-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