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

Chapter 8. The SWT Combo > Responding to Item Changes in the Combo

8.12. Responding to Item Changes in the Combo

With the editable text field of the SWT.DROP_DOWN combo style, it may be necessary to listen for the event that is fired when the user has modified the text in the field.

8.12.1. How do I do that?

To respond to the event that occurs when the user enters text in the Combo object's text field, you must add a ModifyListener to the combo:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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