Bambookit Home    Bambookit GUI Tutorial

Back    Next   

II. GUI Basics

Chapter 10. Widgets Attributes




Focus Traversable


All widgets allow Focus traversable feature to be applied. Pressing the Tab key cycles through the fields in an order determined by your application, and Shift-Tab navigates in the opposite direction. Typically, the sequence is from left to right, then from top to bottom. Pressing Tab from the last field selects the first field. Pressing the Tab key cycles through the fields in an order determined by your application, and Shift-Tab navigates in the opposite direction. Typically, the sequence is from left to right, then from top to bottom. Pressing Tab from the last field selects the first field.

Method signature

setFocusTraversable = "[bool]"
[bool] valid values are true|false. Default is 'true' for most widgets. Widget control by default is 'false'.

NOTE: Focus Traversable is not inherited.

Examples

In this example we will be using a button widget.

.. setFocusTraversable ="true"



Examples

In this example we will be using a radio widget.

.. setFocusTraversable ="true"



Examples

In this example we will be using a edit widget.

.. setFocusTraversable ="true"



Back    Next