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

Chapter 7. SWT Lists > Changing an Item's Text Value

7.9. Changing an Item's Text Value

Occasionally, you will need to alter the text of a particular item. For example, you may need to change the text of the item to reflect that the user has taken some action elsewhere in the interface.

7.9.1. How do I do that?

You can always accomplish this task by removing the item and adding a new item with the new text using the techniques discussed previously. However, if the position of the item in the list is important, you would have to take additional coding steps to ensure that the new item is added at the proper location.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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