Interface Focusable::setFocusable
Description
In BBj 6.00 and higher, setFocusable sets whether a control can be focused.
Note:
A focused control is the control to which keyboard interaction is directed. Typically, the focused control is indicated visually, often via a dotted grey border. A control which is not focusable, therefore, cannot be manipulated via the keyboard. It is still possible to interact with a non-focusable control via the mouse. To disable all interaction, including the mouse, see setEnabled() and setEditable().
Syntax
Return Value | Method |
---|---|
void | setFocusable(boolean foc) |
Parameters
Parameter | Description |
---|---|
foc |
Sets whether or not the control is focusable.
|
Return Value
None.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.