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

Chapter 8. The SWT Combo > Adding Items to a Combo List

8.2. Adding Items to a Combo List

In keeping with the List nature of a Combo, the next step you must take when creating a Combo is to add items to the list.

8.2.1. How do I do that?

As with List objects, you can use two mechanisms to add items to a Combo. The first is to use the add( ) method:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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