6. Creating and Using Basic Fields : Scalar Fields : Toggles (Check Boxes)
 
Share this page                  
Toggles (Check Boxes)
A toggle appears as an option that the user can click on or off (enable or disable). The label for a toggle can be text or an image. You can supply one text phrase for both states and use the toggle indicator, or you can turn off the toggle indicator and supply separate phrases or images for the on and off states.
Note:  For more information about how text and image labels and the indicator interact, see the ToggleField class topic in the Language Reference Guide.
To display a group of toggles, you should create a toggle stack. When the toggles are included in a stack, rearranging the order of the toggles is easy because OpenROAD helps to ensure that they are always correctly aligned. For more information about creating stack fields, see Create a Stack Field (see Create a Stack Field).