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 interract with a non-focusable control via the mouse. To disable all interaction, including the mouse, see setEnabled() and setEditable().
0 – the control is not focusable.
1 – the control is focusable.
OPEN (SYSGUI) "X0"
myWindow! = mySysGui!.addWindow(10,10,100,300,"Mouse Focusable Demo",$00010003$)
both1! = myWindow!.addEditBox(101,10,10,90,30,"Both Tab and Mouse",$0008$)
both2! = myWindow!.addEditBox(102,10,50,90,30,"Both Tab and Mouse",$0008$)
justMouse! = myWindow!.addEditBox(104,10,150,90,30,"Just Mouse",$0008$)
justMouse! = myWindow!.addEditBox(105,10,200,90,30,"Neither",$$)
neither! = myWindow!.addButton(106,10,250,90,30,"Neither",$0000$)
REM Process Events
REM Callback routine called when the user closes the application window
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.