Determines if an element accepts the focus.
capi
accepts-focus-p element => result
element⇩ |
A CAPI element. |
result |
A boolean. |
The generic function accepts-focus-p
determines if the element element accepts the focus for user input, and controls tabstops.
The method on element uses the value of the accepts-focus-p slot, but methods on some subclasses override this.
accepts-focus-p
also influences whether a pane is a tabstop. On Microsoft Windows a pane acts as a tabstop if and only if the function accepts-focus-p
returns true and the element accepts-focus-p initarg value is :force
. On Motif and Cocoa, a pane acts as a tabstop if and only if the function accepts-focus-p
returns true.
CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:33:57