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

Chapter 8. The SWT Combo > Getting the Value of the Selected Item

8.4. Getting the Value of the Selected Item

The main programmatic interaction you must have with a Combo, once created, is in the realm of determining which item the user has selected.

8.4.1. How do I do that?

Obtaining the selected item is much easier with a Combo than it is with a List, for a couple of reasons. First, since all combos are single-selection, you need not worry about parsing multiple selection arrays to determine the item(s) selected.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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