draw-focus

Generic Function

Package: common-graphics

Arguments: picture-button-or-multi-picture-button

Returns whether the focus rectangle is drawn in a multi-picture-button or picture-button when it has the keyboard focus.

The value can be t or nil. If nil, no focus rectangle is drawn, and hittin the SPACE key will not press a button since no particular button has the keyboard focus. You click on a button and it appears pressed in as usual, but no focus rectangle gets drawn.

If the value is t, when the argument control has the keyboard focus, draws a focus rectangle around the particular button that has the focus within the control. The arrow keys will move the focus to other buttons, scrolling as needed. You click on a button and a focus rectangle appears over the clicked button.

draw-focus is a property of the multi-picture-button and picture-button classes.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.