focus
When to give focus to the notebook tabs when they are clicked.
Property of
NoteBook
Description
The focus property determines whether the notebook tabs (or buttons if buttons is true) get focus when they are clicked. It is an enumerated property with the following possible values:
Setting |
Description |
0 (Normal) |
Tab does not focus if tab changes |
1 (On Button Down) |
Tab always gets focus |
2 (Never) |
Tab never gets focus |
You can always give focus to the notebook tabs with the Tab and Shift+Tab keys if its tabStop property is true. If a tab already has focus, clicking will keep focus in the tabs, no matter what the focus property is.