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

Chapter 6. SWT Buttons > Setting Tool-Tip Text

6.12. Setting Tool-Tip Text

As with ToolItem buttons, it is possible to assign tool-tip text to an instance of the Button class.

6.12.1. How do I do that?

The code required to create a tool tip for a button is identical to that used to create tool-tip text for a ToolItem:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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