• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. SWT Buttons > Causing No Radio Button to be Selected

6.7. Causing No Radio Button to be Selected

In a group of Radio buttons, one button must be selected at all times. In Figure 6-3, when the window opens, Check Me is checked by default. Yet, proper functioning of your user interface may require that a window open with no button currently selected.

6.7.1. How do I do that?

To cause a group of buttons to have no default option, simply create a hidden button and set its selection property to true:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint